A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
As with most other organ system in the human body, changes and loss of function is normal consequence of the ageing process. This is also true of the endocrine system, specifically the levels of testosterone production from the Leydig cells of the testicle. Accompanying the decrease in testosterone is a decrease in erections which also has a component in decrease in the blood supply to the penis making erection not as frequent and not as rigid compared with a young man’s erectile function. Although these changes are in itself not life threatening, they can impact a man’s relationship with his partner, and also ED may be a harbinger of other undiagnosed conditions such as coronary artery disease (CAD), hypercholesterolaemia or diabetes mellitus.6
ED can also occur as a side effect of some medications, for example some high blood pressure medications such as certain diuretics and beta blockers. If you think that a medication you are taking has a negative effect on your sex life, you should discuss this with your prescribing doctor. Your doctor may be able to recommend an alternative treatment.
Sexual functioning involves a complex interaction among biologic, sociocultural, and psychological factors, and the complexity of this interaction makes it difficult to ascertain the clinical etiology of sexual dysfunction. Before any diagnosis of sexual dysfunction is made, problems that are explained by a nonsexual mental disorder or other stressors must first be addressed. Thus, in addition to the criteria for erectile disorder, the following must be considered:
Intraurethral alprostadil is contraindicated in individuals who have abnormal penile anatomy (for example, urethral stricture, severe hypospadias with penile curvature), patients with acute or chronic irritation/infection of the urethra, individuals prone to priapism such as those with sickle cell anemia, thrombocytopenia, polycythemia, multiple myeloma, or are prone to blood clots. Intraurethral alprostadil should not be used for sexual intercourse with a pregnant woman.
Centrally active compounds such as apomorphine have been used in men with ED whose cardiovascular comorbidity may prohibit PDE5i use, or in men who have concurrent apomorphine use for its anti-parkinsonian properties. Unfortunately, its side effect profile and poor effectiveness compared to other ED treatments have impaired its mainstream utilization (118). It is suspected that the side effects of apomorphine relate to its D2 receptor affinity. D4 receptor agonists, such as ABT-724 and azulenylmethylpiperazines, may not have the same associated side effects and show potent pro-erectile effects in animal models compared to apomorphine (32,119).
If a trial of oral ED therapy and withdrawal of offending medications prove to be ineffective in restoring erectile function, it is appropriate for most primary care practitioners to consider referral to a specialist for additional evaluation and discussion of alternative treatment options. These include intracavernous injection therapy, vacuum constriction devices, intraurethral therapy, and possible surgery.
The main surgical treatment of ED involves insertion of a penile implant (also called penile prostheses). Because penile vascular surgery is not recommended for aging males who have failed oral PDE5 inhibitors, ICI or IU therapies, implants are the next step for these patients. Although placement of a penile implant is a surgery which carries risks, they have the highest rates of success and satisfaction among ED treatment options.