I do my best to avoid going into something too much.
The main things I've found that burn me out is boring work, working too long and no end to the work. Usually it's enough to just leave or stop after my normal hours and do something else.
Being able to choose to do other things (even if it's stare at a wall) helped me a lot