I use to get this all the time up until today. My new stratagy is to think about how lucky I am to be working from home. How some people deal with rude customers or have hard labor blue collar jobs or do degrading work. I also simply refuse to do work that takes too long for little pay. Simply saying "nope" to a hit that I feel isn't worth the time helps me. Also, I start thinking about the stuff I need to buy, like new glasses and my phone bill.
Also, eat something while you do hits. Burnout with this type of work can be mostly mental but it also is physical.