Getting thoughts out of my head has been very helpful
When you recognize a thought spiral, try pulling out your phone/journal and writing down what you're struggling with (or explain it out loud to yourself)
In reviewing the "logic", you might better recognize what causes you to get stuck looping