Your brain thinks about exactly what you don’t want it to think about.
The “ironic process theory” holds that deliberately trying to suppress certain thoughts makes us more likely to think them. As the classic example goes, if we tell ourselves not to think about a pink elephant or white bear, that’s what pops into our mind.