It is only accomplished through faith in Jesus as Savior. He died on the cross for sins. If you want salvation, you need to trust in what Jesus did on the cross. Only then can you have eternal life and be with God. Salvation is saving a person from damnation.
Damnation is judgment upon the sinner.
This judgment consists of God condemning the sinner to eternal punishment in hell. This is the destination of all who reject God's provision for the forgiveness of sins. If you want salvation, then you need to recognize that you are a sinner and ask Jesus to forgive you. 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.