should have folded preflop, you should have known 4 hearts would come out when you have black aces.

also since there is 4 to the straight flush, i would move all in on the river to scare off the Q of hearts and the ace of hearts.