Salvation is a free gift of God (Rom. ). Jesus bore sin in His body (1 Pet. ), and paid the penalty for breaking the Law of God, which is spiritual death (eternal separation from God). If you want salvation, you need to admit that you are a sinner and that you want Jesus to forgive you of your sins. You must acknowledge that there is nothing you can do to earn forgiveness. Pray and ask Him to forgive you. You need to trust in Jesus. Seek Him; He will save you.
Repentance is part of salvation. Once saved, you should stop doing those things that are displeasing to God. He will live in you and give you the ability and desire to resist sin (1 Cor. ). When you are saved, expect to change -- for the better.