I have come to understand those nasty thought loops I and others like me can get caught up in as being called "perseveration".
I now think of them as being like the "evil twin" of the more useful trait of perseverance.
I have long been using meditation to get a hang of what is going on in my mind - regretfully a bit of a side effect has been that it has from time to time actually increased the "stuckness" in a thought loop. This being especially the case when more stressed or depressed. That said if used in a way to help reduce anxiety it seems to be helpful.
Google AI suggests on this topic:
"Meditation, especially mindfulness-based practices, can help overcome perseveration by training the mind to disengage from repetitive thoughts, strengthen executive functions, and cultivate a non-judgmental awareness that creates a different relationship with intrusive thoughts. Techniques like focused-attention meditation train the brain to redirect attention, while open-monitoring meditation promotes insight and helps de-activate the "default mode network" linked to repetitive thinking. Regular practice leads to increased attentional stability and can reduce the power of negative thoughts."
Thoughts and experiences from others about this?
No bottles with "drink me" on them or mushrooms consumed in the production of this post - would be especially great if Alice and the White Rabbit respond :-)