The spiral happens because your brain treats the memory like an active threat it needs to solve, and every time you replay it, you reinforce that pattern. The good news is you can break it with deliberate practice.
When you catch yourself spiraling, the first move is to interrupt it physically - change your environment, splash cold water on your face, or do something that demands immediate attention. This disrupts the loop before it gains momentum. Then, consciously acknowledge the thought without fighting it: "I'm having the thought that I was weird" rather than "I was definitely weird." That shift matters because resisting the thought actually keeps it alive longer. After you've named it, set a time boundary - tell yourself you'll think about it for exactly two minutes if you need to, then move on to something else. Sounds silly, but the permission actually makes it easier to stop.
The bigger picture is building trust in your past interactions. Most of the time, people barely remember what you said a week ago because they're too caught up in their own stuff. When you do replay conversations, try to spot concrete evidence that things went wrong - usually there isn't any. You're operating on a feeling, not facts. Over time, as you notice that people keep interacting with you normally and nothing bad actually happens from those moments, your brain will stop treating old conversations as emergencies. It takes repetition, but the pattern does loosen.