The medical approach to erectile dysfunction is rather straightforward:
1. Is it due to a chronic medical problem (eg diabetes)?
2. Is it a side effect of a medicine or treatment (eg radiotherapy)?
3. Is it due to a hormonal problem (eg low testosterone, thyroid)?
4. Is it due to a serious psychiatric issue (eg depression)?
If the answer is no to all of the above, it is probably a combination of relatively minor factors like stress, unhealthy blood vessels etc.
The problem is when you have one episode of ED, this can affect your confidence for the next session which in turn causes ED and then you go down a slippery slope.
First line of treatment is changing your lifestyle. Eat healthy, gets lots of cardio exercise, manage your stress. You can also cut down on eating animal fat and drinking milk and soy products. These things contain lots of estrogen which can also contribute to ED.
Sometime, people also just need a couple of tablets of a PDE5I (like Cialis) to gain back their confidence.
You can read more on:
http://www.drtanandpartners.com/erec.../#.U4KZtrr2MeE