Psalm 32:5
I acknowledge my sin to You, and I did not hide my wickedness; I said, “I will confess (all)
my transgressions to the Lord”; and You forgave the guilt of my sin.
We will make mistakes! Confess the sin get out of the ditch, and resume the walk with God. Change the thinking, friends, and environment but change whatever must be removed to avoid repeating the sin. God will help when we ask for help.