My joke is that I know my mental health is bad when I respond to stupid comments on hacker news. In this case, I took a week off after responding to fix my sleep
The fact that I’d responded and was annoyed by the comments was a pretty good sign that I needed time off.