You can solve this by dividing the amount of possible outcomes that agree with your result, by the amount of total possible outcomes. In this case, there are still 13 cards in the deck, as the card drawn before was not a heart, and total outcomes are represented by 51 cards, because the first card chosen was not replaced.
Your answer is then 13/51, or .2549