Matthew 26:41 Watch and pray, that you enter not into temptation: the spirit indeed is willing, but the flesh, weak.
1 Corinthians 10:13 There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it.
2 Corinthians 12:9 And He said to me, “My grace is sufficient for you, for My strength is made perfect in weakness.”
1 John 1:9 If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
Repent means to turn away from sin and turn to God. It is a change of heart and mind. You are human you will make mistakes and fall. The thing is to get back up dust yourself, keep pressing and try not to go that way again. Talk to God and be honest with yourself and with Him and tell Him your struggle and ask for help and forgiveness.
You will be tested in this area again but stand on Gods word. I was taught to read in Gods word about the thing you are struggling in and let God minister to your heart.
Psalm 119:11 Thy word have I hid in mine heart, that I might not sin against thee.
God loves you and there is nothing impossible or to hard for him if you believe.
Romans 8:38-39 For I am persuaded, that neither death, nor life, nor angels, nor principalities, nor powers, nor things present, nor things to come, Nor height, nor depth, nor any other creature, shall be able to separate us from the love of God, which is in Christ Jesus our Lord.
Grace and Peace