In comparison, 37% of men who had received external radiotherapy as their primary therapy reported the ability to attain functional erections suitable for intercourse, along with 43% of men who had received brachytherapy as primary treatment. Pretreatment sexual health-related quality of life score, age, serum prostate-specific antigen (PSA) level, race or ethnicity, body mass index, and intended treatment details were associated with functional erections 2 years after treatment. 
Currently, there are no therapies that cure erectile dysfunction. However, a number of effective therapies are available that allow an individual to have an erection when desired. Depending on the cause of the erectile dysfunction, certain therapies may be more effective than others. Although there is limited data on lifestyle modification, intuitively, decreasing risk factors for erectile dysfunction may help prevent progression of disease.
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
If you can't take one of these oral medications, your physician may have you try Caverject (alprostadil for injection), a hormone that you inject into your penis using a fine needle, or Muse (alprostadil urogenital), a tiny suppository that you insert into the tip of the penis. Both of these will bring on an erection within five to 15 minutes without sexual stimulation.
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.
You may find that using a vacuum device requires some practice or adjustment. Using the device may make your penis feel cold or numb and have a purple color. You also may have bruising on your penis. However, the bruises are most often painless and disappear in a few days. Vacuum devices may weaken ejaculation but, in most cases, the devices do not affect the pleasure of climax, or orgasm.
When stimulated by the nerves, the spongy tissue arranges itself in such a way that more blood can be stored in the penis. The veins running through the outer sheath of the penis then compress which stops the blood from leaving the penis. As the blood is stopped from flowing out, the penis fills with blood and stretches within the outer casing, giving an erection.
"Medications that create blood flow to the penis can't help when an erection is blocked by the fear or anxiety of the fight-or-flight response,” says Feloney. “This type of erectile dysfunction probably has a lot to do with evolution — men didn't need an erection when a dinosaur was chasing them." The best way to treat erectile dysfunction caused by performance anxiety, depression, a poor relationship, or stress may be with a combination of ED drug treatment and sex therapy, individual therapy, or couples therapy from sexual health professionals.
Additionally, the physiologic processes involving erections begin at the genetic level. Certain genes become activated at critical times to produce proteins vital to sustaining this pathway. Some researchers have focused on identifying particular genes that place men at risk for ED. At present, these studies are limited to animal models, and little success has been reported to date.  Nevertheless, this research has given rise to many new treatment targets and a better understanding of the entire process.
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. 
Erectile dysfunction (ED), or impotence, is the inability to obtain or maintain an erection suitable for intimate activity. While most frequently seen in 50-65% of males aged 65 and older and nearly all men over the age of 70, erectile dysfunction affects up to 39% of 40-year-old men, too; more than 35 million men total in the United States. Left untreated, the physical frustrations of living with erectile dysfunction can quickly turn emotionally stressful as well, with men often reporting relationship and related issues. And that’s why NuMale Medical Center offers the most advanced and effective therapies to treat erectile dysfunction, so you and your partner can experience sex and intimacy both joyfully and confidently.
Zerman et al. performed penile implant surgery in 245 men with neurolgic impairment caused by spinal cord injury, CNS neoplasm, CNS infection, MS and SB (110). Mean follow-up time of 7.2 years was achieved in 195 patients, 50 patients were excluded for lost to follow-up or death from nonurological causes. Interestingly, 135 patients underwent penile implantation to assist with management of urinary incontinence and improve ability for condom/intermittent catheterization. Ninety-two patients patient underwent implantation for ED. Eighty two percent of patients were satisfied with implantation for ED, and 67% of partners were satisfied. Complications included infection (5%), perforation (0–18%), and technical dysfunction (7–33%). Perforation rates were high with the malleable device when it was placed through a subcoronal incision. After adopting an infrapubic approach the perforation rates dropped substantially.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.