Erectile dysfunction affects millions of men. Although for some men erectile function may not be the best or most important measure of sexual satisfaction, for many men erectile dysfunction creates mental stress that affects their interactions with family and associates. Many advances have occurred in both diagnosis and treatment of erectile dysfunction. However, its various aspects remain poorly understood by the general population and by most health care professionals. Lack of a simple definition, failure to delineate precisely the problem being assessed, and the absence of guidelines and parameters to determine assessment and treatment outcome and long-term results, have contributed to this state of affairs by producing misunderstanding, confusion, and ongoing concern. That results have not been communicated effectively to the public has compounded this situation.
Currently, placement of a penile prosthesis is the most common surgical procedure performed for erectile dysfunction. Penile prosthesis placement is typically reserved for men who have tried and failed (either from efficacy or tolerability) or have contraindications to other forms of therapy including PDE5 inhibitors, intraurethral alprostadil, and injection therapy.
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 nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
Psychological Causes of ED – Between 10% and 20% of ED cases have a psychological cause. Because arousal starts in the brain, psychological issues can be a significant contributing factor to erectile dysfunction. Mental health conditions like depression or anxiety can negatively impact your libido, making it more difficult for you to become aroused.
All studies demonstrate a strong association with age, even when data are adjusted for the confounding effects of other risk factors. The independent association with aging suggests that vascular changes in the arteries and sinusoids of the corpora cavernosa, similar to those found elsewhere in the body, are contributing factors. Other risk factors associated with aging include depression, sleep apnea, and low HDL levels.
An analysis of 14 studies involving more than 90,000 patients with ED confirmed the relation between ED and an increased risk of cardiovascular events and mortality.  Compared with patients without ED, those with ED had a 44% increased risk of cardiovascular events, a 25% increased risk of all-cause mortality, a 62% increased risk of MI, and a 39% increased risk of cerebrovascular events. Treatment of ED, either through lifestyle interventions or by pharmacologic means, may improve prognosis and reduce risk.
Prevention of some of the causes that contribute to the development of erectile dysfunction can decrease the chances of developing the problem. For example, if a person decreases their chances of developing diabetes, heart disease, and hypertension, they will decrease their chances of developing erectile dysfunction. Other things like stopping smoking, eating a healthy diet (heart healthy with adequate vitamin intake), and exercising daily may reduce a person's risk.
The U.S. FDA (Food and Drug Administration) has a list of 29 OTC products that claim to treat erectile dysfunction. Patients should avoid these because many contain harmful ingredients. Other natural or herbal remedies such as DHEA, L-arginine, ginseng, and yohimbe are supplements that have been used but have not been proven safe and effective according to some researchers. Before using such compounds, individuals should consult their doctor. According to some experts, acupuncture does not effectively treat erectile dysfunction. Other home remedies for reducing ED symptoms include diet changes such as eating blueberries and citrus fruits and drinking red wine.
Surgery of the penile venous system, generally involving venous ligation, has been reported to be effective in patients who have been demonstrated to have venous leakage. However, the tests necessary to establish this diagnosis have been incompletely validated; therefore, it is difficult to select patients who will have a predictably good outcome. Moreover, decreased effectiveness of this approach has been reported as longer term followups have been obtained. This has tempered enthusiasm for these procedures, which are probably therefore best done in an investigational setting in medical centers by surgeons experienced in these procedures and their evaluation.
Diabetes is an example of an endocrine disease that can cause a person to experience impotence. Diabetes affects the body’s ability to utilize the hormone insulin. One of the side effects associated with chronic diabetes is nerve damage. This affects penis sensations. Other complications associated with diabetes are impaired blood flow and hormone levels. Both of these factors can contribute to impotence.
Three forms of penile prostheses are available for patients who fail with or refuse other forms of therapy: semirigid, malleable, and inflatable. The effectiveness, complications, and acceptability vary among the three types of prostheses, with the main problems being mechanical failure, infection, and erosions. Silicone particle shedding has been reported, including migration to regional lymph nodes; however, no clinically identifiable problems have been reported as a result of the silicone particles. There is a risk of the need for reoperation with all devices. Although the inflatable prostheses may yield a more physiologically natural appearance, they have had a higher rate of failure requiring reoperation. Men with diabetes mellitus, spinal cord injuries, or urinary tract infections have an increased risk of prosthesis-associated infection. This form of treatment may not be appropriate in patients with severe penile corporal fibrosis, or severe medical illness. Circumcision may be required for patients with phimosis and balanitis.
Vacuum devices for ED, also called pumps, offer an alternative to medication. The penis is placed inside a cylinder. A pump draws air out of the cylinder, creating a partial vacuum around the penis. This causes it to fill with blood, leading to an erection. An elastic band worn around the base of the penis maintains the erection during intercourse.