The only way we can avoid going to hell is by living according to the Biblical teachings. In short, I mean, living a righteous life and always doing good. Be generous, love your neighbours as you love yourself, be faithful, always prayerful among other good deeds. I just realised that most of the people who call themselves Christians have very pathetic deeds which demoralises me most of the times. They go to church every Sunday but their actions are very wanting, this hypocrisy which is prohibited in the bible.
Its good to follow your heart but when it tells you to do the right thing but you should also follow your conscious.In fact, no one knows whether they'll go to heaven or not. We have made several sins and haven't repented because we tend to forget. Only God knows what will happen when the end of the world comes.