Post breakup erection issues

So long story short, I was all ready to settle down and buy a house etc with my ex. She ended up letting me down and being generally toxic until I was forced to end things between us.

I had a couple of casual sex encounters after we broke up, just to help with the transition, but one of these was a past flame of mine. On the night, I couldn’t start hard when I put the condom on, which ruined the moment with her(bear in mind this girl was very sexy). I was embarrassed and ashamed and told myself I wouldn’t let that happen again.

Q while later I started seeing another girl who loves a short flight away. As sex was a big deal for us, I felt obliged to perform whenever we would meet up - hence, I started buying Viagra. I liked how Viagra would mean I would have a hard on regardless of how in my head I got.

This has snowballed into me now not trusting myself at all and taking Viagra before every planned sexual encounter. In part because I want the certainty the pill provides, but also out of anxiety that I do not please the girl. It’s easy for.
girl to fake being horny but for us? Impossible.

Don’t be too certain.

Pills don’t work on me with women.
They work perfectly when I’m alone…