A Good Confession Means Heaven
Are there any sins that can prevent a person from going to heaven even if the person confesses them?
There is no sin that if repented of can prevent us from attaining heaven. If someone was sorry for his sins and confessed them, then his sins are forgiven.
If, however, someone confessed without any repentance, then his sins would not be forgiven, and if the sin was mortal, he would not be able to enter into the kingdom of heaven.