I don't have a dx in this area, but I do have intrusive thoughts. What helps me is remembering that sleep and dreams are supposed to take out the mind's garbage. Well, it sounds bad to call it garbage, because it's really just what the mind has processed already and no longer finds useful.
If dreams (found only in REM sleep) don't completely get the job done, then I suppose the rest might hang around in the form of intrusive thoughts.
So I try to make sure I get lots of REM sleep --- in the hope that the unwanted thoughts will be eliminated the natural way. And I watch what drugs I take. I take no benzodiazepines, because they deprive the brain of REM sleep. Probably other drugs do also, although I haven't done enough research to know which ones.
Just a thought.
Adieu