The association between low testosterone and ED is not entirely clear. Although these 2 processes certainly overlap in some instances, they are distinct entities. Some 2-21% of men have both hypogonadism and ED; however, it is unclear to what degree treating the former will improve erectile function.  About 35-40% of men with low testosterone see an improvement in their erections with testosterone replacement; however, almost 65% of these men see no improvement. 
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.
A study published in May 2014 in The Journal of Sexual Medicine found that some men can reverse erectile dysfunction with healthy lifestyle changes, such as exercise, weight loss, a varied diet, and good sleep. The Australian researchers also showed that even if erectile dysfunction medication is required, it's likely to be more effective if you implement these healthy lifestyle changes.
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.
Move a muscle, but we're not talking about your biceps. A strong pelvic floor enhances rigidity during erections and helps keep blood from leaving the penis by pressing on a key vein. In a British trial, three months of twice-daily sets of Kegel exercises (which strengthen these muscles), combined with biofeedback and advice on lifestyle changes — quitting smoking, losing weight, limiting alcohol — worked far better than just advice on lifestyle changes.
As is true in so many medical conditions, lifestyle modifications, considered first-line therapy, can have a salutary effect in ED management, and men should be encouraged to make the necessary changes to the benefit of their sexual function and to their overall health as well. Despite the benefits of behaviour modification, men presenting with ED want the physician to help with measures that can have an immediate impact.
ED usually has something physical behind it, particularly in older men. But psychological factors can be a factor in many cases of ED. Experts say stress, depression, poor self-esteem, and performance anxiety can short-circuit the process that leads to an erection. These factors can also make the problem worse in men whose ED stems from something physical.
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.
ICI therapy often produces a reliable erection, which comes down after 20-30 minutes or with climax. Since the ICI erection is not regulated by your penile nerves, you should not be surprised if the erection lasts after orgasm. The most common side effect of ICI therapy is a prolonged erection. Prolonged erections (>1 hour) can be reversed by a second injection (antidote) in the office.