Just do something to change my train of thought
If you have something on your mind and you're worried, what's the best thing to do to take it off your mind?
I read, get into a good book, or play a game that requires attention. Usually works!
Best thing to do is the simplest, stop doing whatever is making you think here and do something else that requires you use your brain