Here's a simple exercise to help you get your feet back on the ground:
Sit or stand with both bare feet on the floor or your mat.
Take a few deep breaths, bringing your attention away from outside interferences, and into your body.
Using the sensory nerves in your feet, notice how the floor feels beneath you.
Is it cool? warm? firm? soft? sticky?
Next, invite your attention to your feet themselves.
Can you feel the skin on your feet? What sensations arise?
Sit with these feelings for 10-15 breaths, or as long as you need to feel connected and grounded again.
Use this grounding technique anytime you need to come back down, out of your head!