I wrote this up a few days ago to help remind myself what to do when things get bad. It's not really meant to be public, so please don't share. Maybe some of these techniques will help.
But I do recommend therapy first. You can use some online service like BetterHelp or one of the competitors. Better to give money to an individual though. But whatever is easiest for you.