In one study, 9.6% reported ‘occasional’ erectile dysfunction, 8.9% reported erectile dysfunction occurring ‘often’, and 18.6% reported erectile dysfunction occurring ‘all the time’. Of these, only 11.6% had received treatment.In another study, only 14.1% of men reported that they had received treatment, despite experiencing erectile dysfunction for longer than 12 months.
Other factors leading to erectile dysfunction are diabetes mellitus, which is a well-known cause of neuropathy). ED is also related to generally poor physical health, poor dietary habits, obesity, and most specifically cardiovascular disease, such as coronary artery disease and peripheral vascular disease. Screening for cardiovascular risk factors, such as smoking, dyslipidemia, hypertension, and alcoholism is helpful.
Another study compared the response of surgically and medically castrated rabbits to vardenafil with that of control rabbits.  Castrated rabbits did not respond to vardenafil, whereas noncastrated rabbits did respond appropriately. This result suggests that a minimum amount of testosterone is necessary for PDE5 inhibitors to produce an erection.
Since sexual arousal is a complex process involving hormones, emotions, nerves, muscles, blood vessels and the brain, a malfunction in any of these can lead to ED. Stress, exhaustion and psychological issues can also contribute, and anxiety over maintaining an erection can actually make it harder to attain. In short, any condition that inhibits blood flow to the penis can lead to ED.
Erectile dysfunction may be an unpleasant condition that no one really wants to talk about, failing to acknowledge it won’t make the problem go away. Your best defense against health problems like this is to learn everything you can about it so you can tackle the problem at the root. If you’re ready to stop living in embarrassment about your sexual function, become an advocate for yourself and your own health and talk to your doctor.
In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
If you bike a lot and have a very narrow saddle on your bicycle, consider switching to a "no-nose seat" which is wider at the back than a conventional saddle, allowing more of your weight to be distributed to the sitting bones. Make sure the seat is level or angled slightly downward and at a height that allows your knee to be just slightly bent at the bottom of the pedal cycle. Raising the handlebars on your bike so that you're sitting upright may also help.
There are also alternative treatments, such as using a penis pump or a penile injection. Penis pumps work by creating a vacuum and thereby causing more blood to flow to your penis. Penile injections need to be used shortly before intercourse. They contain a medication which widens your blood vessels. A doctor’s prescription is needed for the injections.
Treatment depends on the underlying cause. In general, exercise, particularly of the aerobic type, is effective for preventing ED during midlife. Exercise as a treatment is under investigation.:6, 18–19 For tobacco smokers, cessation often results in a significant improvement. Oral pharmacotherapy and vacuum erection devices are first-line treatments,:20, 24 followed by injections of drugs into the penis, as well as penile implants.:25–26 Vascular reconstructive surgeries are beneficial in certain groups.