However, there are a few things that helped me get through the dark times, I am writing them below in the hopes that you may find them useful:
1. Exercise, this is absolutely critical. If you have never done it, it's ok, Julian has a great guide to get started: https://www.julian.com/guide/muscle/intro but there are also lots of guides online.
2. Nutrition is another one, stay away from junk food. Your brain will try to find comfort in high calorie / sugary foods, don't let it win. Eat vegetables and proteins instead.
3. Sleep is a tough one, but also important. Do whatever you need to sleep (exercising will help a lot). Your brain will keep you up at night, learn to recognize this pattern and avoid it when you can.
4. Make a plan. Grab a blank sheet of paper and think of one goal you would like to accomplish, then make the task into smaller sub tasks and from there derive a schedule for achieving it. This will help you stay productive and improve your state of mind.
5. Research. This oddly helped me a lot, I started researching psychology, relationships, listened to "dating" advice (I know.. some speakers were good, some were trash but I enjoyed them nonetheless), TED talks, books, etc.
6. Join communities. If you're an introvert like I am, this is difficult at first but you can start slow. I did this slowly, made a few friends online, then worked up the courage to join discord, then started messaging some of my old friends on Facebook, then had some phone calls and eventually met people face to face (whenever COVID restrictions would allow of course)
7. Don't reach out to your ex, when she/he calls you (and they will) don't respond, avoid contact with their families, don't read old messages, delete their picture, etc Trust me, you have been shot with high caliber rounds right now, you need to heal and they will only get in the way of it.