For I will declare mine iniquity; I will be sorry for my sin.
Here is the way you get right with God so that you will not have to fall under the judgment of God. You recognize that you are a sinner, that you have sinned before God. You repent of your sin (you are sorry for what you have done) and accept the Lord Jesus Christ as your Savior. It’s that simple.