Do not dwell on feelings of guilt-- your enemies will try to ensnare you in it, hoping you will despair. Instead, focus on contrition: Acknowledge that you did wrong, confess your sin honestly, resolve to do good, focus on starting fresh. And when you start fresh, my best advice is to focus on the goal. When we’re always thinking over and over “I will not do X, I must not do X, I should not do X,” we’re always thinking of X. This can become another sort of trap. Instead, focus on what you do want: “I should do Y, I will do Y.” If you were a runner wanting to finish the race, you’d keep your eyes on the road ahead, not what lies behind. Focus not on the vices you want to avoid, but rather on the virtues you want to cultivate…
Focusing on the virtues you want to cultivate-- what they really mean and how you can actually attain them-- will help. God gives you the power to do this, if you are willing to receive it.
This can involve changing the patterns of your behavior… Think about where you’re going and what you’re doing. Will your choices help you to cultivate the virtues you’re working toward?
If you make bad choices along the way, acknowledge that you did wrong, confess your sin honestly, resolve to do good, focus on starting fresh. Each moment is a new chance to do the right thing. God will give you the power to do it. Focus on the virtues you want to cultivate and the best means to do it.