If you’re working on a pressure- or deadline-free project, consider taking a break before starting something else so more of that attentional residue can dissipate. As far as your productivity is concerned, the best time to take a break is after you’ve finished a big task.