Hey Im in a similar place, work has been getting me down for a while and I have been getting more and more exhausted, I have that headache too. Im typing this at 5AM because I cant sleep and there is nothing else to do. The only way to stop the headache, I think, must be to make some changes.
Feel better.
It's hard to explain. When I realize I've gotten to this point, I just stop. As soon as I can, I just stop everything, and just imagine good things that could be. I think about a brighter future, and what I'm capable of, and I shy away from any of the negativity. You have to get out of the negative loop. I hope you can take something from that.
Yeah there is no more negativity for me now, its gone far enough that a change is going to come one way or another. Id rather be poor and healthy, than rich and miserable.