When I'm too scatterbrained, there are two reliable ways I've found to return to focus:
- Put as much attention as possible on the soles of my feet.
- Listen very carefully to some particular sound in the environment.
YMMV, but these work best for me.
