For example, I reply to an email but I was mistaken/didn't reply in the way the recipient wanted. They cc'd in my boss saying "I think my original email was very clear."
It was a Friday afternoon and I was in tears. I decided to go home and sleep on it, thinking I'd feel better in a day or two.
It happened to be a long weekend, and by the time Tuesday rolled around I couldn't face going back into work. I resigned and never went back to the office.
Obviously, looking back on things this seems to be something of an over-reaction. I went to a doctor and a therapist and got a clean bill of health.
I don't expect most people's experiences are quite as extreme as mine, but I wondered what techniques people have for when they make a mistake at work (big or small) or have some other negative experience.
If you want to check it out: https://app.getserenity.app/
I made it a web app so that it was convenient to use at work without having to go find a conference room or somewhere quiet to cool down. You can just pop it up on your phone or laptop.
Of course, this is easier said than done. I have pretty bad anxiety and it took a lot of bad moments for me to realize "hmmm wait, I do a lot of good work here"
However, when you step away you need to have tools and support systems that allow you to escape the negative thoughts so you can walk back in after without fear. Everyone has different tools for this so I hesitate to recommend any one in particular as it is more just important that you find the tools that work for you and have them available.