I Take a 30min shower, and let my ideas flow on how I should do my next task. After that, I meditate for an hour and do what needs to be done afterwards.
If the task is short-term one, I try not to take a break because I run under the risk of losing motivation to do it. My energy is constantly fluctuating and I need to take advantage of it if I'm on a running spree.