you did´n said how whas the bets before the flop... but since that was a heads up and you made two pairs on flop with AK i would bet just to call him at first... but since he resaises... i would rereraises until he just calls or go all in... better luck next time! =D