thanks for contacting askthedoctor.com
The most common reasons for erectile dysfunction is emotional and psychological stressors or disinterest , lack of libido and sometimes even depression plays a major part. But as he is able to initiate an erection during the foreplay but unable to maintain it hints towards performance anxiety and possible emotional stress. He may try an anti-anxiety drug after consultation with the physician a week or so and evaluate his performance . However if the problem is not rectified then he has to be evaluated further and behavioral therapies may be advise for him thereafter which involve targeted approach to the problem concerned.
I hope i have answered your query in detail,
wishing you good health,
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.