Remember that your focus determines your reality. You need to change your focus when this happens, think of a children birthday party or name different types of trees or anything. These are all examples of techniques I use when I can't stop thinking about something.