That's pretty much a perfect flop for AK - I'm not wild about just calling the 3-bet preflop OOP, but once you hit your hand, you have to go with it.
I c/r the flop and call a shove - if he has AA he has it, not much you can do.
As played, I call - and then take a break for a while, win or lose. If you're running so bad that it's throwing off your game this much, it's definitely time for a break.