Solve the issues that keep popping into your head
It often happens that a task would occur to you repeatedly or an idea would keep coming back to your mind.
In such situations it's valuable to notice that and drive it to resolution, so it doesn't stay as a constant drag on your mental capacity - consuming limited attention and short term memory.
"Driving it to resolution" can meen multiple things
completing the task
writing about the idea
saving the task into an external system for doing things that you have
delegating it to someone you trust to take care of it
a failure mode here is delegating it to someone, but then still being worried that the task won't get completed, and that consuming your attention.
The key aspect here is convincing your mind that the task is handled and doesn't require additional contemplation