Do you ever get anxious during sex? How does it affect you? (Part 1)

Yes solely because of a situation I had last summer. I had just broken up with my girlfriend and was in bed with a different girl a couple of weeks after and I couldn’t get it up. I think it was because it was just too soon after the breakup or I really just wasn’t attracted to her but it was traumatizing cause I was so embarrassed. Ever since then I’ve been able to get hard but when I take my pants off it just goes away because I just think about that one time I couldn’t get it up and it takes my mind to an anxious place.