If you’re actively feeling overwhelmed you first need to calm down. Close your eyes for a minute. Focus on breathing deeply. Count your breaths. An alternative is to get a little physical exercise. Take a walk.
The combination of the exercise and the separation from your workspace for a short period of time can help you to get into the zone to get work done.