Melanocortin receptor agonists were found to induce erections serendipitously. A study investigating the dermatologic use of Melanotan-II (MT-II) was found to generate erections unexpectedly leading to the development of MTII derivatives for ED treatment (120). MT-II was initially used to induce pigment changes in the skin for artificial tanning but has been suspected to induce melanoma, however (121).
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 development of an erection is a complex event involving integration of psychologic, neurologic, endocrine, vascular, and local anatomic systems. Positron emission tomography scanning studies have suggested that sexual arousal is activated in higher cortical centers that then stimulate the medial preoptic and paraventricular nuclei of the hypothalamus.5 These signals ultimately descend through a complex neural network involving the parasympathetic nervous system and eventually activate parasympathetic nerves in the sacral area (S2 to S4).
Can erectile dysfunction be reversed? Erectile dysfunction (ED) is a very common issue, and it can usually be reversed with lifestyle changes, counseling, medications, or surgery. While short-term treatments are available, addressing the underlying cause will usually resolve the condition. Learn about causes and effective methods of reversing ED here. Read now
This content is provided as a service of the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the National Institutes of Health. The NIDDK translates and disseminates research findings through its clearinghouses and education programs to increase knowledge and understanding about health and disease among patients, health professionals, and the public. Content produced by the NIDDK is carefully reviewed by NIDDK scientists and other experts.
Like all diabetic complications, ED can occur even when you have followed your doctor’s advice and carefully managed your diabetes. Also like all diabetes complications, ED is less likely to occur with good blood sugar control. Poorly controlled diabetes and high cholesterol increase the chances of vascular complications, which may lead to ED or other circulatory problems. In addition, regular smoking and alcohol use can contribute to ED.
Exercise and lifestyle modifications may improve erectile function. Weight loss may help by decreasing inflammation, increasing testosterone, and improving self-esteem. Patients should be educated to increase activity, reduce weight, and stop smoking, as these efforts can improve or restore erectile function in men without comorbidities. Precise glycemic control in diabetic patients and pharmacologic treatment of hypertension may be important in preventing or reducing sexual dysfunction. 
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
A physical cause can be identified in about 80% of cases. These include cardiovascular disease, diabetes mellitus, neurological problems such as following prostatectomy, hypogonadism, and drug side effects. Psychological impotence is where erection or penetration fails due to thoughts or feelings; this is somewhat less frequent, in the order of about 10% of cases. In psychological impotence, there is a strong response to placebo treatment.
Effective treatment for erectile dysfunction is available, and for most men will allow the return to a fulfilling sex life. The side effects of the treatment for erectile dysfunction vary depending on the treatment that is used. Some may interrupt the spontaneity of sexual activity. For example, PDE-5 inhibitors typically need to be taken one hour before sex. Side effects may include headaches, indigestion, vasodilation, diarrhoea and blue tinge to vision. Other treatments such as penile injections may cause pain at the injection site, or an erection that will not go down. Treatment options need to be carefully discussed with your doctor to determine which one is best suited to you.
I think that a very powerful argument to young men who want to perform at the highest level is to point out the destructive nature of what they’re doing. If they’re having 18 drinks per week, if they’re having three, four, five drinks at any one time, they’re going to guarantee that their erections are not going to be at the highest level. I can’t tell you the number of men who come in saying, they went out, they had a date, they had a big dinner– which, by the way, is also not a great thing for erections, because all the blood is now going to your gut instead of to the genital area. And how important lifestyle changes are to improving your performance, as well, if not better, than the medications. So make certain that you exercise modestly, not excessively. Make certain that you have a smaller meal on an evening or a day that you want to have a sexual encounter, because you want the blood to go, once again, to the penile area and not to your gut. And really, the whole idea of stress– if you’re stressed out, if you’re worried about a lot of things, if you’re distracted, you can’t initiate that psychic stimulus to your spinal cord and then ultimately to your penis. So stress management is incredibly important.
In some cases, ED can be a warning sign of more serious disease. One study suggests ED is a strong predictor of heart attack, stroke, and death from cardiovascular disease. The researchers say all men diagnosed with ED should be evaluated for cardiovascular disease. This does not mean every man with ED will develop heart disease, or that every man with heart disease has ED, but patients should be aware of the link.
There are relatively few contraindications to the use of vacuum devices. Some conditions can predispose to priapism or perhaps bleeding with constriction, such as sickle cell disease, polycythemia, and other blood dyscrasias. Patients taking anticoagulants can safely use vacuum constriction devices but need to accept a higher risk of bleeding (ecchymosis). Good manual dexterity is also needed to use the device; if manual dexterity is impaired, a willing sexual partner can learn to apply the device.
This is similar to magnetic resonance imaging. Magnetic resonance angiography uses magnetic fields and radio waves to provide detailed images of the blood vessels. Doctors may inject a "contrast agent" into the person's bloodstream that causes vascular tissues to stand out against other tissues. The contrast agent provides for enhanced information regarding blood supply and vascular anomalies.
The link between chronic disease and ED is most striking for diabetes. Men who have diabetes are two to three times more likely to have erectile dysfunction than men who do not have diabetes. Among men with erectile dysfunction, those with diabetes may experience the problem as much as 10 to 15 years earlier than men without diabetes. Yet evidence shows that good blood sugar control can minimize this risk. Other conditions that may cause ED include cardiovascular disease, atherosclerosis (hardening of the arteries), kidney disease, and multiple sclerosis. These illnesses can impair blood flow or nerve impulses throughout the body.