Thought blocking is a good method to stop yourself whenever you begin to think negatively.
Your use of "forgive" assumes having done something wrong that you had control over. Being human is not a fault, imo. (Unless you wish to discuss religion.)
Being human means things happen to us, sometimes we do the best we can and sometimes we don't give the effort. Try putting forth good effort, and allow that to be good enough.

TC!