Vascular damage may result from radiation therapy to the pelvis and prostate in the treatment of prostate cancer.  Both the blood vessels and the nerves to the penis may be affected. Radiation damage to the crura of the penis, which are highly susceptible to radiation damage, can induce ED. Data indicate that 50% of men undergoing radiation therapy lose erectile function within 5 years after completing therapy; fortunately, some respond to one of the PDE5 inhibitors.
NO is produced by the enzyme NO synthase (NOS).  NOS plays many roles, ranging from homeostasis to immune system regulation. To date, 3 subtypes have been identified: nNOS, iNOS, and eNOS, which are produced by the genes NOS1, NOS2, and NOS3, respectively. This nomenclature is derived from the sources of the original isolates: neuronal tissue (nNOS), immunoactivated macrophage cell lines (iNOS), and vascular endothelium (eNOS). The subtypes are not, however, limited to the tissues from which they were first isolated.
In fact, one common reason many younger men visit their doctor is to get erectile dysfunction medication. Often, men with erectile dysfunction suffer with diabetes or heart disease, or may be sedentary or obese, but they don’t realize the impact of these health conditions on sexual function. Along with erectile dysfunction treatment, the doctor may recommend managing the illness, being more physically active, or losing weight.
Associated morbidity may include various other male sexual dysfunctions, such as premature (early) ejaculation and male hypoactive sexual desire disorder. The NHSLS found that 28.5% of men aged 18-59 years reported premature ejaculation, and 15.8% lacked sexual interest during the past year. An additional 17% reported anxiety about sexual performance, and 8.1% had a lack of pleasure in sex. 
Specially designed vacuum devices to produce erections have been used successfully for many years. Vacuum devices are safe, relatively inexpensive, and reliable. Vacuum devices do not require surgery. Vacuum devices are available over the counter or by prescription. It is important to make sure that the vacuum device have a mechanism to prevent too high of a vacuum (negative pressure).
Inflatable prostheses are complex mechanical devices that imitate the natural process of erection. Parts are inserted surgically into the penis and scrotum, and activated by squeezing. When erection is no longer desired, a valve on the pump is pressed, and the penis becomes flaccid. Self-contained single-unit prostheses are similar to the inflatable types, but more compact. The entire device is implanted into the penis. When erection is desired, the unit is activated by either squeezing or bending, depending on which of the two types of self-contained prostheses is used.
Psychotherapy, marital counseling, or sex therapy may be helpful in treating cases of impotence that have psychological or emotional causes. A range of other treatments exists for cases of impotence that arise from purely physiological causes. These treatments include vacuum devices, penile injections, and penile implants. These mechanical or physically invasive approaches have largely been superseded, however, by the drug sildenafil citrate (trade name Viagra), which is taken in pill form. This drug works by enhancing the effects of nitric oxide, a chemical that, upon sexual stimulation, is normally released to widen the blood vessels supplying the penis. The increased flow of blood through those vessels into certain tissues in the penis causes an erection. See also sexual dysfunction.
Farag YM, Guallar E, Zhao D, Kalyani RR, Blaha MJ, Feldman DI, Martin SS, Lutsey PL, Billups KL, Michos ED. Vitamin D deficiency is independently associated with greater prevalence of erectile dysfunction: The National Health and Nutrition Examination Survey (NHANES) 2001-2004. Atherosclerosis. 2016 Sep;252:61-7. doi: 10.1016/j.atherosclerosis.2016.07.921. Epub 2016 Jul 29.
They are the same muscles you use to stop the flow of urine from the bladder. Next time you are urinating, you can intentionally cut off the stream (don't make this a regular or repetitive activity) to identify the correct muscles. Once you have identified them, try squeezing and holding as long as possible 10 times in a row, three times a day as an optimal regimen.
There are risks to prosthetic surgery and patients are counselled before the procedure. If there is a post-operative infection, the implant will likely be removed. The devices are reliable, but in the case of mechanical malfunction, the device or a part of the device will need to be replaced surgically. If a penile prosthesis is removed, other non-surgical treatments may no longer work.