First you follow your heart (excuse the pun) whole-heartedly.
Then when your heart leads you to pain (because of sin), you want to get rid of it.
But those who try only make things worse. They try to deaden the pain with a deluge of sin (drugs, alcohol, meaningless sex). These are neither permanent nor true fixes.
Jesus heals hearts. Cry out to Him.