It is often taught and thought that committing suicide automatically condemns someone to hell, though this is not found in scripture.
Committing suicide is wrong and a significant transgression, because there is a sense in which life and death is God’s prerogative.
If a person has been truly 'born again' (regenerated by the Holy Spirit), then they cannot commit any sin that would cause him or her to go to hell.