Hello Friend, Good that you are seeking a help here. All your symptoms are sign severe anxiety and depression. Overthinking about the past is the root cause and you need to manage such thoughts. You may need a professional help to overcome this problem.
Next Steps
Consult a psychologists directly or online. Feel free to reach out to me online through Practo app for further detailed evaluation and suitable solutions that you can follow practically to overcome this problem.