I am having a similar situation. A year and a half ago me and my exgf had a devastating breakup. I didn't sleep with any women in the year off, but masterbated all the time, like 1-4 times a day. Starting in the spring I got stressed and began having problems with erections, even while masturbating. Me and my ex recently hooked up in the past few months again, and while we get along great now, I have had trouble getting erections while hooking up with her, and it stresses me to no end. I took 3 weeks off of masturbating and my function was getting exponentially better, but took a dip for the worse yesterday, out of nowhere. Now that we might be hooking up again I'm super anxious about my performance capabilitiees, and I feel this may be part or all of the probelm I[m seeing a urologist this week, but has anyone had a similar experience, and what was your solution?
You should go to a urologist that specializes in ED to get some tests done. Blood Tests will determine if you have low T or any hormone imbalances. THey also will check for any prostate problems. Any major injuries in that region? The doctor can do a nocturnal rigid scan test to determine if it is psychological and physical? I had it done many years ago, and passed with flying colors. This is why the doc refused to give the more invasive doppler test. That is a self induced erection in which the penile arterial flow is examined for issues as venous leakage.
Also have you been taken any drugs recently? IMHO, it sounds like mental issue of inadequacy. But you should get it checked out.