If I'm focused on something my mind quiets down to a manageable level. If I'm not focused on something then I daydream. Thinking of a plot with moving characters and all that stuff is enough to keep my mind from wandering into a rabbit hole of random thoughts.
_________________
When you hear hoofbeats, think of horses, not zebras. - Dr. Theodore Woodward