Usually I just go and do something else for an hour or two. Get away from the task at hand and do something completely different, I find exercise also works in that situation. I don’t worry about it, don’t think about it, just immerse myself in something else then when I’m done, I’m usually able to get back to what I started with with renewed focus and energy.