Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in all men and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
What’s important to take away from this is that, because erections can occur throughout the day for no reason, erectile dysfunction can be difficult to diagnose. Some men achieve erections for no reason, yet when provided with stimuli, they aren’t able to. Some men, on the other hand, only get aroused when directly stimulated. This means that healthcare professionals need to take into account many variables prior to diagnosing and treating erectile dysfunction.
A lot of guys don’t want to admit it, but not being able to get or keep an erection happens more often than you’d think. Guys usually have trouble getting or keeping an erection when they’re nervous, scared or worried about something. They might be worried about how they’ll “perform,” or they could be feeling guilty about having sex. They might be afraid of getting a sexually transmitted disease (STD), or, if they are with a girl, getting their partner pregnant. Drugs (including some anti-depressants) and alcohol can also prevent you from getting and/or maintaining an erection.
The role of the endothelium in erectile function became clearer with the observation that the phosphodiesterase type 5 (PDE5) inhibitor, sildenafil, enhanced erectile function. Erection occurs with the release of nitric oxide (NO) from the vascular endothelial cells.17 The reduction in endothelial cell production of NO results in the negative impact on the smooth muscles in the corporal bodies and results in less relaxation of the smooth muscle cells with decrease in blood supply and resulting ED. A similar phenomenon is well known to impact the coronary arterial system resulting in CVD.
Trauma to the pelvic blood vessels or nerves can also lead result in ED. Bicycle riding for long periods has been implicated as an etiologic factor; direct compression of the perineum by the bicycle seat may cause vascular and nerve injury.  On the other hand, bicycling for less than 3 hours per week may be somewhat protective against ED.  Some of the newer bicycle seats have been designed to diminish pressure on the perineum. [37, 38]
If you can keep an erection when you’re alone, then you’re probably worried about something when you’re with your partner. Think about how you feel and then talk to your partner about your concerns. You might be putting too much pressure on yourself or not protecting yourself by using condoms and birth control. Or maybe you’ll discover that you’re really not ready for sex right now and need to wait until it feels right.
The first stem cell study for the treatment of ED was published in 2004. This study used embryonic stem cells to treat ED. At this time, there is a total of 36 published basic studies assessing stem cell therapy for ED, with two clinical trials. The mechanism of action of stem cells is to generate angiogenesis with subsequent increase in cavernosal smooth muscle cells within the corporal bodies.46
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.