Pick something up that can get your mind off things. Start hiking, plant a garden, take up wood working, learn meditation. I find it nice to take a break from coding.
If you really like programming, but are not thrilled with the tech or projects at work, pick a side project you can do outside of work that will let you grow and learn.