Question: how to stop thinking about something you regret?
Answer: Accept the reality of the thing you regret. The mistakes are real. ... 
Forgive yourself. Show yourself the same kind of mercy you want others to extend when you have wronged them. ... 
Make amends. ... 
Forget what is behind you. ... 
Do the opposite of what you regret.