God taps on the heart of a sinner. They are convicted.. they can then either resist or respond to the conviction by belief in God, Jesus.
So that's believing Jesus was crucified, died and rose again to forgive your sin.
With this belief.. the Holy Spirit then indwells the persons soul...