The answer is simple, and Jesus Himself gives it to us in the Bible. You must be Born Again in His name. The wages of sin are death, and with sin, one dies twice, both at their physical death and at their spiritual death. In Jesus, we experience only physical death, and our spirit lives eternally. Accept Him as your Savior. Repent. Reject sin and Satan. Accept God’s Word (ALL of God’s Words) in the Bible as True. Then you will go to heaven.
Yours in Christ,