Hello and Welcome to ‘Ask A Doctor’ service.
I have reviewed your query and here is my advice.
It is most likely from psychological dysfunction.
Most of the erectile dysfunctions are from psychological factors. In fact, psychological erectile dysfunctions are more common than erectile dysfunction from other medical conditions (e.g.
cardiovascular disease) so-called physical erectile dysfunctions.
Stress,
depression, anxiety(performance anxiety) are considered common causes of psychological erectile dysfunctions.
These two causes (physical vs psychological) can be differentiated by nocturnal penile
tumescence (NPT) test. The test checks the presence of erections during sleep. Positive test indicates psychological erectile dysfunction rather physical.
Life style modifications are very helpful for the treatment of psychological erectile dysfunction. Try to decrease stress, do regular exercises and eat healthy food. Try to quit
smoking if you are smoker, limit alcohol consumption. Control you weight.
Hope I have answered your query. Let me know if I can assist you further.
Regards,
Dr. Malik