i used to do something similar id grit my teeth and close my eyes tightly to try and fight it  years later after erp and getting on top of it i just observe them i dont label them or judge them i just observe them  the thing you have to remember is you are not your thoughts so no matter how disturbing they get they do not in any way represent or define you