One of the most useful things that I taught myself to do is to identify times when I shouldn't trust decisions I make and then instead of deciding what to do go home.
It turns out that this applies to migraines as much as it does depression. My head still hurts but I can actually see now and I don't feel nauseous anymore.