Unable to get erect and going in a loop

I had an intense fight with my partner where there were things said to me that affected me a lot. I could not perform a couple of times after that because those words were stuck in my head.

Even though I got over what was said, I got into a loop where I lost my confidence in being able to get an erection. Iโ€™ve gone in a loop and have performance anxiety. Anyone else faced this? How did you get over?

Iโ€™m in a similar boat. I described it as a loop to my sex therapist. Talking about it helps. For me, once I start worrying about my erection, I donโ€™t get one. I k ow it is related to anxiety and negative self-talk. Understanding that is easy, getting passed it has been a challenge that Iโ€™m still working on.