You must repent and ask God for forgiveness.

Sin separates you from God

Everyone has sinned. “For all have sinned and fall short of the glory of God” (Romans 3:23). Sin brings death. “For the wages of sin is death” (Romans 6:23). “For it is by grace you have been saved, through faith and this not from yourselves, it is the gift of God-not...
You must repent and ask God for forgiveness.

Recognize that God loves you

“For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life” (John 3:16). He has new life for you. “I have come that they may have life, and have it to the full” (John 10:10).