I have been going through a similar phase nowadays. I think the most important thing is to acknowledge your problems and sadness. Being sad and down is perfectly okay.
I also write down my thoughts immediately, then I go back and re-read, trying to write counter arguments for them.
Greetings from Cape Town