Strange circumstances

I’ve been with my partner for 4 months and emotionally it’s fucking great. The sex has been an emotional rollercoaster for me and we finally had a breakthrough the other day discussing our drives and how they differ. (Turns out she isn’t actually that’s experienced and got nervous I would judge her for this so she began pulling away from sex). As a result however I got rejected on advances a fair bit (admittedly as a horny man I was doing this daily). What this has caused though is some form of psychological ED in the sense that when we get to doing it sometimes I struggle to get up with this belief that I I’ll get turned down again for sex which makes me soft. I feel I need to feed off a horny energy from her and if it feels “planned or forced” then that’s it game over for me. But when it’s in the moment I am completely fine.