Ask yourself: What’s within my control? Is there something I can do right now? Can I make the situation better? Then do it. And do the job well.
If you can’t, choose to do something else. Have different things in your life that you can give your attention to.For example: learn a new skill, get some exercise, work on your goals.