Prior to Christ, Jews believed that forgiving 3 times was being more than generous. So, Peter asked Jesus how many times do I have to forgive? 7?
And Jesus replied:
Matthew 18:21-22 Then Peter came to Jesus and asked, "Lord, how many times shall I forgive my brother when he sins against me? Up to seven times?" Jesus answered, "I tell you, not seven times, but seventy-seven times.
And the meaning of that was, as many times as they need it. That is how many times you are forgiven for your various sins, if you ask for it. If you have a specific "crime", you are suppose to turn away from it, as best you can. Having said that, if you feel bad about beating up your spouse and ask for forgiveness, then turn around that night and do it again and then again and again, then God will know in your heart you aren't repentant at all.
He judges your heart.
When you feel that way, look up scripture on the grace of God on your computer. Start by remembering this:
But he replied, “My gift of undeserved grace is all you need. My power is strongest when you are weak
Thank God for undeserved grace. Without it we would all be doomed...