Achieving an erection is a complicated process, requiring transmission of sensations from the genital area to the nervous system and the return of nervous impulses to the muscles and blood vessels of the penis. Anything that interferes with this interchange, such as disease or injury of the blood vessels, muscles, or nerves, can make achieving and maintaining an erection difficult. Psychological factors, such as anxiety and depression, can also interfere with erectile function. Anxiety and depression may also develop as a consequence of impotence.
4. National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). Erectile dysfunction (updated Nov 2015). https://www.niddk.nih.gov/health-information/health-topics/urologic-disease/erectile-dysfunction/Pages/facts.aspx (accessed Nov 2016). myDr myDr provides comprehensive Australian health and medical information, images and tools covering symptoms, diseases, tests, medicines and treatments, and nutrition and fitness.Related ArticlesImpotence causesFind out the physical and psychological causes of impotence, also called erectile dysfunction or ED.Erectile dysfunction: visiting your doctorFind out what questions a doctor may ask when discussing erectile dysfunction (ED, or impotence8 Surprising causes of erectile dysfunctionOccasional erectile dysfunction is not uncommon, but if it's persistent, erectile dysfunction caAdvertisement
MedlinePlus : 43 Erectile dysfunction (ED) is a common type of male sexual dysfunction. It is when a man has trouble getting or keeping an erection. ED becomes more common as you get older. But it's not a natural part of aging. Some people have trouble speaking with their doctors about sex. But if you have ED, you should tell your doctor. ED can be a sign of health problems. It may mean your blood vessels are clogged. It may mean you have nerve damage from diabetes. If you don't see your doctor, these problems will go untreated. Your doctor can offer several new treatments for ED. For many men, the answer is as simple as taking a pill. Getting more exercise, losing weight, or stopping smoking may also help. NIH: National Institute of Diabetes and Digestive and Kidney Diseases
Neurogenic erectile dysfunction (NED) is a traditional classification of erectile dysfunction (ED) encompassing disorders impairing erections via neurologic compromise or dysfunction. The disorders compromising erections may act centrally, peripherally or both. The prevalence of neurogenic ED has been suspected to be between 10% and 19% of all causes of ED (1,2). However, several classically defined neurogenic processes may affect several components of the normal pathway to achieve erection e.g., multiple sclerosis (MS), diabetes mellitus, iatrogenic surgical and spinal cord injury. Each disease state has its own unique characteristics that require acknowledgement to fully understand their effect on ED.
Counselling and psychotherapy can help if one of the underlying causes of your erectile dysfunction is psychological. Counselling can also benefit men who have lost sexual confidence, even though their erectile dysfunction is caused by physical factors. Counselling may be provided by your doctor, a psychologist or a psychiatrist. Your partner may also be involved.
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. 
Tests such as the bulbocavernosus reflex test are used to determine if there is sufficient nerve sensation in the penis. The physician squeezes the glans (head) of the penis, which immediately causes the anus to contract if nerve function is normal. A physician measures the latency between squeeze and contraction by observing the anal sphincter or by feeling it with a gloved finger inserted past the anus.
There are many effective treatments for impotence. The most popular is a class of drugs called phosphodiesterase type 5 (PDE5) inhibitors. These include sildenafil (Viagra), vardenafil (Levitra), tadalafil (Cialis) and avanafil (STENDRA). These drugs are taken in pill form. They work in most men. But they are less effective in men with neurological causes of impotence.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.
MalaCards based summary : Impotence, also known as erectile dysfunction, is related to vasculogenic impotence and hyperprolactinemia, and has symptoms including angina pectoris, pelvic pain and tremor. An important gene associated with Impotence is NOS1 (Nitric Oxide Synthase 1), and among its related pathways/superpathways are Response to elevated platelet cytosolic Ca2+ and Platelet homeostasis. The drugs Methyltestosterone and Testosterone have been mentioned in the context of this disorder. Affiliated tissues include prostate, spinal cord and endothelial, and related phenotypes are normal and reproductive system
Quitting smoking, exercising regularly, losing excess weight, curtailing excessive alcohol consumption, controlling hypertension, and optimizing blood glucose levels in patients with diabetes are not only important for maintaining good health but also may improve or even prevent progression of erectile dysfunction. It is unclear if such lifestyle changes can reverse erectile dysfunction. However, lifestyle improvements may prevent progression of the erectile dysfunction. Some studies suggest that men who have made lifestyle improvements experience increased rates of success with oral medications.
With an inflatable implant, fluid-filled cylinders are placed lengthwise in the penis. Tubing joins these cylinders to a pump placed inside the scrotum (between the testicles). When the pump is engaged, pressure in the cylinders inflate the penis and makes it stiff. Inflatable implants make a normal looking erection and are natural feeling for your partner. Your surgeon may suggest a lubricant for your partner. With the implant, men can control firmness and, sometimes, the size of the erection. Implants allows a couple to be spontaneously intimate. There is generally no change to a man's feeling or orgasm.