Hello,
Erectile dysfuntion ( ED ) at such young age is generally due to psychological reasons like
anxiety,
stress,performance anxiety,loosing confidence because of earlier failure in sexual encounter,overwork,extra marital relations etc
Other most common causes at this young age are overindulgence in alcohol,
smoking,use of
narcotic substances,obesity,sedentary lifestyle,lack of exercises etc
There is no need to loose hope on this issue.
Do the following..
Quit smoking
Moderate your alcohol.
Loose weight
Do regular aerobic exercises for 45 minutes a day.
Do yoga and deep breathing exercises
Quit taking any narcotic substance,if any
Talk to your wife and take her in your confidence
You should be all right in next 6 to 8 weeks.
Thanks