Sometimes the repetitive sin reveals what you’re lacking, or a need that’s not being fulfilled correctly, understand what needs are not being met, or what specific need isn’t being met; understand the reason why, then understand how to stop it.
For instance:
If someone keeps stealing money it might be because they need money, and are running away from poverty. They’ll only find a way to stop stealing unless they understand why they steal and find a way to make money. If they don’t try to understand the issue it becomes a major problem.
Some, not all but some, porn addicts watch it because they need that physical intimacy from a person - the issue here might be a lack of sexual intimacy. They repeat these sins because they haven’t understood why they do it. Unless they be honest with themselves, understand themselves, and tackle the issue and seek love, they won’t find a lover to share intimacy with, and they’ll keep repeating the same sin.
Some people are chain smokers, drug addicts, and alcoholics due to loneliness, but they are unaware that the lack of companionship drives them to these addictions. Unless they take the time to realize, understand, they are lonely, they’ll never break free from the repetitive sin.
Now, understanding the reason why the sin is repeated requires honesty with self and strength. That’s very difficult to do; because the heart is deceitful. Jeremiah 17:9 (NIV) “The heart is deceitful above all things and beyond cure. Who can understand it?” So, you’ll need to fight it with understanding.
As for forgiveness, Christ already forgave us long ago, that’s His nature, its obvious He’ll forgive, and already has.
Just focus on the root cause of that repetitive sin, be honest with yourself and work to fix it. You already know its a problem, so you’re halfway there.
It’s Lovely you opened up.
But, the best way, confess to the Lord why you do it, and ask him to help you stop. He’s the only one who fully understands your problem.