Pay attention to your breathing. Inhale deeply through your nose, hold for a few seconds, and exhale slowly through your mouth. This can anchor your attention and calm your mind.
Calming the mind takes time. Don't be discouraged if it feels difficult at first. With regular practice, you'll notice improvements in your ability to relax and focus.