Hello devastated0: Thank you for sharing your concern here on PC.

I noticed this is your first post. So... welcome to Psych Central.
I'm sorry I don't think there is anything I can offer you in the way of a trick to derail the thoughts you are struggling with. Perhaps other members, here on PC, will yet have some suggestions they can offer. In the meantime, though, here are links to 4 articles, from Psych Central's archives, on how to let go of stuck or intrusive thoughts:
9 Ways to Let Go of Stuck Thoughts
7 Ways to Stop Obsessing
5 Ways to Free Yourself From Dark and Obsessive Thoughts
Coping with Obsessive Thoughts
I hope you find PC to be of benefit.