If we're talking about Christianity, the bible says all you need is to believe that when Jesus died your sins against God were forgiven. It doesn't say anything about going to heaven or hell based on how good you were. In fact, it explicity says that going to heaven is not based on "works".