Because of the difficulty in defining the clinical entity of erectile dysfunction, there have been a variety of entry criteria for patients in therapeutic trials. Similarly, the ability to assess efficacy of therapeutic interventions is impaired by the lack of clear and quantifiable criteria of erectile dysfunction. General considerations for treatment follow:
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
But he may have a real problem. Generally, erectile dysfunction is linked to cardiovascular health. If your guy has serious health problems, drinks and smokes too much, or does too many drugs, those conditions may play a role. Obesity, heart disease, prescription medications, and diabetes are just a few of the common risk factors. And then there are the psychological causes: depression, stress, and the million things flashing through his head when he's struggling to get it on.
The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
However, a review of a United Kingdom medical record database found no evidence that the use of 5-alpha reductase inhibitors independently increase the risk for ED. In 71,849 men with benign prostatic hyperplasia (BPH), the risk of ED was not increased with the use of finasteride or dutasteride only (odds ratio [OR] 0.94), or a 5-alpha reductase inhibitor plus an alpha blocker (OR 0.92) compared with an alpha blocker only. In addition, the risk of ED was not increase in 12 346 men prescribed finasteride 1 mg for alopecia, compared with unexposed men with alopecia (OR 0.95). The risk of ED did increase with longer duration of BPH, regardless of drug exposure. 
Parasympathetic input allows erection by relaxation of trabecular smooth muscle and dilation of the helicine arteries of the penis. This leads to expansion of the lacunar spaces and entrapment of blood by compressing venules against the tunica albuginea, a process referred to as the corporal veno-occlusive mechanism. The tunica albuginea must have sufficient stiffness to compress the venules penetrating it so that venous outflow is blocked and sufficient tumescence and rigidity can occur.
Concerns that use of pornography can cause erectile dysfunction have not been substantiated in epidemiological studies according to a 2015 literature review. However, another review and case studies article maintains that use of pornography does indeed cause erectile dysfunction, and critiques the previously described literature review.
Picture the scene. You get home from the bar with your date. You both decided to leave a little early, after only two drinks, because the chemistry was really there and both of you wanted to cut to the chase and get intimate. To discover each other's bodies. To eat of the fruits of passion. In short, to have sex. You stick the key in the lock, swing the door open, and invite her into your beautiful place. OK, well it might not be exactly beautiful. It might be a bit of a mess, frankly. But you don't let that ruin the moment. You turn around and passionately kiss her. How the two of you make it to your bedroom with some clothing still on is anybody's guess. You jump on the bed and hurriedly strip. God — can't this go any faster, you wonder?
Since endothelial dysfunction, CVD and ED are closely associated in epidemiological studies, the question for clinicians is whether to recommend the man presenting with ED undergo a cardiovascular (CV) evaluation. Clearly, based on numerous studies, ED can be considered at least a ‘marker’ for possible further vascular disease or CVD.15 In their report, Vlachopoulos and coworkers make the point that the man presenting with ED, the clinician, is offered an opportunity to attempt to improve the health of the man by addressing lifestyle modification, and consider further vascular evaluation owing to the clear relationship between endothelial dysfunction, ED and CVD.19
It can also help to tell your partner (either before you start or when it happens) that hey, sometimes it takes your penis a while to warm up or sometimes it comes and goes as it pleases — and that they shouldn't take it personally and you won't let it ruin the moment. When it happens, take a few deep breaths, focus on your partner, and go back to doing whatever was feeling good before. "If they approach that with authentic confidence, the partner is usually like 'OK, cool,'" says Skyler. "Remember, you're more than just your penis."
Arterial revascularization procedures have a very limited role (e.g., in congenital or traumatic vascular abnormality) and probably should be restricted to the clinical investigation setting in medical centers with experienced personnel. All patients who are considered for vascular surgical therapy need to have appropriate preoperative evaluation, which may include dynamic infusion pharmaco-cavernosometry and cavernosography (DICC), duplex ultrasonography, and possibly arteriography. The indications for and interpretations of these diagnostic procedures are incompletely standardized; therefore, difficulties persist with using these techniques to predict and assess the success of surgical therapy, and further investigation to clarify their value and role in this regard is indicated.