Decrease the amount you're risking; keep decreasing until it doesn't bother you any more, and only increase it when you feel a positive itch for doing so. Shift to sim, or stop trading for a while if you need to. Go do something special for yourself that will get you back on track - go to a comedy club, have a great dinner, indulge in wild monkey sex (h/t previous posters), take some recently-legalized mind benders (safe ones, please; you need that gadget between your ears to continue trading)... whatever shifts you out of the mental state you're in and gives you a full reset.
One that's specific to my own head, but may work for you: do something that gives you a feeling of successful completion (high chance of success even if the "return" is low.) Then do it again, until you have a number of wins in a row. This works for both maintenance and resetting. E.g., I climbed the Great Sand Dune here in Colorado yesterday, and I'm still seriously high from doing it... and I'm doing pretty well at dealing with some adverse (not trading related) events in life.
Again, from my personal experience: desensitization works. You gain equanimity and perspective with experience. Just gotta make sure it never mutates into indifference.
Good luck.