When aroused, stimulated nerves supplying the penis release chemicals that cause the muscle that surrounds blood vessels in the penis to relax. As the blood vessels relax, there is an increase in blood coming into the penis. This blood fills the spaces in the corpora cavernosa, allowing each of the corpora to expand. As the corpora expand, the veins that drain blood out of the penis are compressed against the tunica albuginea. Compression of the veins prevents blood from leaving the penis and results in a fully rigid penis. When the stimulation/arousal subsides, there is a decrease in the chemicals from the nerves, the muscle around the arteries tightens, decreasing inflow of blood, resulting in a lack of compression of the veins and the drainage of blood out of the penis.
The Massachusetts Male Aging Study (MMAS) documented an inverse correlation between ED risk and high-density lipoprotein (HDL) cholesterol levels but did not identify any effect from elevated total cholesterol levels.  Another study involving male subjects aged 45-54 years found a correlation with abnormal HDL cholesterol levels but also found a correlation with elevated total cholesterol levels. The MMAS included a preponderance of older men.
The severity of ED has been correlated with the extent of CVD. Banks et al reported that the risk of future CV events increased progressively according to ED severity.28 This was shown in both men with and without known CVD at baseline and after controlling for confounders. Solomon and colleagues found an inverse correlation between international index of erectile function (IIEF) scores and plaque burden seen on coronary angiography.29 In addition, Yaman et al demonstrated a significant correlation between ED severity on IIEF questionnaires and coronary artery calcification.30
Research is mixed on the effectiveness of acupuncture as an erectile dysfunction cure, but one study published in November 2013 in the Journal of Alternative and Complementary Medicine found that acupuncture can be beneficial for men experiencing erectile dysfunction as a side effect of antidepressants, including selective serotonin reuptake inhibitors (SSRIs) and serotonin noradrenaline reuptake inhibitors (SNRIs).
A number of herbs have been promoted for treating impotence. The most widely touted herbs for this purpose are Coryanthe yohimbe (available by prescription as yohimbine, with the trade name Yocon) and gingko (Gingko biloba), although neither has been conclusively shown to help the condition in controlled studies. In addition, gingko carries some risk of abnormal blood clotting and should be avoided by men taking blood thinners such as coumadin. Other herbs promoted for treating impotence include true unicorn root (Aletrius farinosa), saw palmetto (Serenoa repens), ginseng (Panax ginseng), and Siberian ginseng (Eleuthrococcus senticosus). Strychnos Nux vomica has been recommended, especially when impotence is caused by excessive alcohol, cigarettes, or dietary indiscretions, but it can be very toxic if taken improperly, so it should be used only under the strict supervision of a physician trained in its use.
Normal erectile function depends on the release of NO and endothelial-dependent vasodilation of the penile arteries. The ‘artery size’ hypothesis, first described by Dr Montorsi, offers an explanation why men are more likely to develop ED before a myocardial infacrtion. It is believed that atherosclerosis affects all vascular beds equally but smaller arteries are more likely to become occluded than larger arteries.31 32 The penile arteries are 1–2 mm while the coronary arteries are 3–4 mm. Thus, the same degree of endothelial dysfunction and atherosclerosis is more likely to occlude blood flow in the penile arteries compared with the coronary arteries. The penile arteries therefore serve as a sensitive indicator for subsequent CVD. This theory is supported by the fact that ED occurs approximately 3 years prior to cardiac symptoms in virtually all patients with chronic coronary syndrome whereas patients with acute coronary syndrome have a much lower prevalence of sexual dysfunction.32
If PDE5 drugs don't work or cannot be used because of potential side effects, your doctor can recommend other therapies. The drug alprostadil (Caverject, Edex, Muse) allows blood to flow more freely in the penis, leading to an erection. The drug can be injected with a tiny needle into your penis. Or, a small pellet (suppository) can be inserted into the opening of the penis. Suppositories and injections are effective in the majority of men.
One of the first steps is to distinguish between physiological and psychological ED. Determining whether involuntary erections are present is important in eliminating the possibility of psychogenic causes for ED. Obtaining full erections occasionally, such as nocturnal penile tumescence when asleep (that is, when the mind and psychological issues, if any, are less present), tends to suggest that the physical structures are functionally working. Similarly, performance with manual stimulation, as well as any performance anxiety or acute situational ED, may indicate a psychogenic component to ED.
Some men should not take PDE5 inhibitors. They can cause hypotension (abnormally low blood pressure that can lead to fainting and even shock) when given to patients who are taking nitrates (medications taken for heart disease). Therefore, patients taking nitrates daily should not take any of the PDE5 inhibitors. Nitrates relieve angina (chest pain due to insufficient blood supply to the heart muscle because of narrowing of the coronary arteries); these include nitroglycerine tablets, patches, ointments, sprays, and pastes, as well as isosorbide dinitrate and isosorbide mononitrate. Other nitrates such as amyl nitrate and butyl nitrate also are in some recreational drugs called "poppers."
Because the burning side effect is triggered by alprostadil, the formulations with the least alprostadil — tri-mix and certain versions of bi-mix — could work for men who experience burning with the single-drug formula. But some men might choose alprostadil alone because the multi-drug cocktails can cost more and must be dispensed by a compounding pharmacy — one that is authorized to mix medications on site — which could mean the added hassle of a long drive to pick up the drug.
Cardiovascular diseases: The most common cause of cardiovascular diseases in the United States is atherosclerosis, the narrowing and hardening of arteries that reduces blood flow. Atherosclerosis (a type of vascular disease) typically affects arteries throughout the body; hypertension, high blood cholesterol levels, cigarette smoking, and diabetes mellitus aggravate atherosclerosis. Hardening of the arteries to the penis and pelvic organs, atherosclerosis, causes insufficient blood flow into the penis. There is a close correlation between the severity of atherosclerosis in the coronary arteries and erectile dysfunction. For example, men with more severe coronary artery atherosclerosis (hardening of the arteries in the heart) also tend to have more erectile dysfunction than men with mild or no coronary artery atherosclerosis. Some doctors suggest that men with new onset erectile dysfunction undergo evaluation for silent coronary artery diseases (advanced coronary artery atherosclerosis that has not yet caused angina or heart attacks).
3. Are there physical causes of erectile dysfunction? Erectile dysfunction may be a symptom of underlying medical conditions, which if not detected may cause further medical problems. A prior history of cigarette smoking, heart attacks, strokes, and poor circulation in the extremities (for example, intermittent claudication or cramping in your leg[s] when you walk) suggest atherosclerosis as the cause of the erectile dysfunction. Loss of sexual desire and drive, lack of sexual fantasies, gynecomastia (enlargement of breasts), and diminished facial hair suggest low testosterone levels. A prior history of pelvic surgery or radiation and trauma to the penis/pelvis/perineum can cause problems with the nerves and blood vessels. Symptoms of intermittent claudication of the lower extremities with exercise may suggest a vascular problem as a cause of the erectile dysfunction.
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.