To do this, it first takes softening your focus - as easy to do as when you look at a physical object. When you're focusing on something at close distance and then you let your focus soften, to take in more of the view with your peripheral vision, you take in more information, you broaden your perspective.
When you've consciously expanded your awareness, the thing right in front of you suddenly has less grip on you.
Similarly, when we're in the midst of a task that is stressing us out, discomfort feels like that zoomed in object right in front of us. You can consciously allow your focus to soften in order to tap into that undercurrent of calm, joy and centredness, or whatever it is YOU wish to experience whilst being productive. It might be enthusiasm, or excitement.
Instead of getting more and more stressed, just imagine you're letting go of the stress, and direct your focus onto that undercurrent of calm-joy-centred feeling.