ED varies in men with seizure disorders, occurring in 3% to 58% of men with epilepsy (30). The cause of ED is likely multifactorial, with neurologic, endocrine, iatrogenic, psychiatric and psychosocial factors leading to varying degrees of ED (31). ED can occur in periods surrounding active seizures (ictal) or in the periods unrelated to seizure activity (post-ictal) as well (32).
Other factors leading to erectile dysfunction are diabetes mellitus, which is a well-known cause of neuropathy). ED is also related to generally poor physical health, poor dietary habits, obesity, and most specifically cardiovascular disease, such as coronary artery disease and peripheral vascular disease. Screening for cardiovascular risk factors, such as smoking, dyslipidemia, hypertension, and alcoholism is helpful.
If you have unstable heart disease of any kind, heart failure or unstable, what we call angina, contraindication to using the medications. All right? So if you’re in an unstable medical state, these medications are not a good idea. Now, there are relative issues. If you may be taking a blood pressure medicine or a medicine for your prostate which dilates your blood vessel a little bit– you know, the typical ones are what we call the alpha blockers– you may have an additive effect from the medication. But for the most part, the medicines are incredibly safe.
The mechanisms by which testosterone plays a role in erectile function are not completely understood. A study evaluating the effect of testosterone on erections in surgically castrated rabbits and control animals, in which the rabbits’ intracavernosal pressures were compared after cavernosal nerve stimulation, determined that castrated rabbits had much lower pressures after stimulation than control rabbits did.  Notably, the pressures increased when castrated rabbits received exogenous testosterone replacement.
When a man becomes sexually excited, muscles in their penis relax. This relaxation allows for increased blood flow through the penile arteries. This blood fills two chambers inside the penis called the corpora cavernosa. As the chambers fill with blood, the penis grows rigid. Erection ends when the muscles contract and the accumulated blood can flow out through the penile veins.
Total testosterone levels: Health care professionals should obtain a patient's blood samples for total testosterone levels in the early morning (before 8 a.m.) because the testosterone levels go up and down throughout the day. If you have a low testosterone level, a health care professional should check it again to confirm that it is truly low. In some men, a specialized test measuring the active form of testosterone (free or bioavailable testosterone) may be recommended.
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. 
Between 10 and 88% of patients diagnosed with cancer experience sexual problems following diagnosis and treatment. The prevalence varies according to the location and type of cancer, and the treatment modalities used. Sexuality may be affected by chemotherapy, alterations in body image due to weight change, hair loss or surgical disfigurement, hormonal changes, and cancer treatments that directly affect the pelvic region.
Intraurethral therapy (Medicated Urethral System for Erections, or MUSE): Alprostadil (PGE1) has been formulated into a small suppository that can be inserted into the urethra (the canal through which urine and semen are excreted). The suppository is preloaded into a small applicator and by placing the applicator into the tip of the penis and compressing the button at the other end of the applicator and wiggling the applicator, the suppository is released into the urethra. Gentle rubbing/massaging of the penis will cause the suppository to dissolve and the medication is absorbed through the urethra and passes into the penis where it stimulates the relaxation of the muscle in the arteries and increases blood flow to the penis. It takes 15 to 30 minutes for this to occur. Success rates in the clinical studies were noted to be about 65%, however lower rates were noted when it started being used in the real world setting. This drug may be effective in men with vascular disease, diabetes, and following prostate surgery. This is a useful alternative for men who do not want to use self-injections or for men in whom oral medications have failed. Few side effects occur. The most common side effect is penile pain, which can vary from minor to uncomfortable. MUSE use has been associated with lowering of the blood pressure and thus it is recommended that the first time using the MUSE be in the physician's office so that you can be monitored. One cannot use lubricants of any type to help with the insertion of the applicator thus to make it easier to insert you should urinate immediately before using the MUSE system as this will lubricate the urethra. A temporary tourniquet is often helpful in allowing the medication to stay in the erectile tissue a little longer and seems to give a somewhat better response.
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.
However, studies have shown that fewer then 50% of men with ED and Diabetes respond to oral medicines. Also,fewer than 35% of men with ED after prostate cancer surgery respond to oral medicines. For these men the Internal Penile Implant is currently the best option. The Penile Implant is an approved medical option that has been used for over 30 years. During the course of a 45-minute outpatient procedure, the pump is inserted through a small one-inch opening in the scrotal sac. By squeezing the pump, fluid is pumped, resulting in a long lasting erection. Once inserted, there is no maintenance required for the pump and can remain in place for a lifetime.
In a 2005 study, three months of twice-daily sets of kegel exercises combined with biofeedback and advice on lifestyle changes, such as quitting smoking, losing weight, and limiting alcohol, worked far better than just giving the participants advice. “Wearing tight pants will affect impotence along with some other medical conditions like diabetes and heart disease,” which can also affect a man’s degree of impotence, Dr. Jennifer Burns, specializing in family practice with an emphasis on gastrointestinal health at the BienEtre Center, told Medical Daily.
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.
Testosterone replacement: Men with low sex drive (libido) and ED may be found to have low testosterone levels. Hormone replacement may be of benefit by itself or as a complementary therapy used with other treatments. Libido and an overall sense of well-being are likely to improve when serum testosterone levels are restored. The constitution of symptoms of low libido, fatigue, decreased muscle mass and force, and increased body fat may be related to andropause. As mentioned previously, in the patient workup section, serum total testosterone and bioavailable testosterone blood tests can be performed to evaluate for low serum levels. If determined to be below normal, replacement of testosterone may be suggested as a treatment option. The primary objective of testosterone replacement is to improve libido, energy levels, and symptoms of andropause. Only secondarily would correction of low testosterone levels potentially have impact on erectile function. Some studies suggest that in men with low or low normal testosterone levels and ED who fail PDE5 inhibitors that the use of hormone therapy may improve the success of PDE5 inhibitors.
In the Massachusetts Male Aging Study (MMAS) among a community-based survey of men aged 40-70 years, 52% of the men reported some degree of erectile difficulty. Complete ED, defined as the total inability to obtain or maintain suitable erections during sexual stimulation, as well as the absence of nocturnal erections (normal erections [four to six/night], which occur during sleep), occurred in 10% of the men in the study. Lesser degrees of mild and moderate ED occurred in 17% and 25% of participants.
Chronic stress dumps adrenaline in your system multiple times a day. And that can lead to high blood pressure, heart disease, obesity, and diabetes. Chronic stress is like red-lining your car all day long. When you drive 100 mph all the time, something is going to break down. A high-stress environment can actually change the way your brain sends messages to your body. Dumping too much adrenaline into your bloodstream can affect blood flow and severely limit your ability to achieve and maintain an erection.
Long-term predictions based on an aging population and an increase in risk factors (eg, hypertension, diabetes, vascular disease, pelvic and prostate surgery, benign prostatic hyperplasia, and lower urinary tract symptoms) suggest a large increase in the number of men with ED. In addition, the prevalence of ED is underestimated because physicians frequently do not question their patients about this disorder.
Under normal circumstances, when a man is sexually stimulated, his brain sends a message down the spinal cord and into the nerves of the penis. The nerve endings in the penis release chemical messengers, called neurotransmitters, that signal the corpora cavernosa (the two spongy rods of tissue that span the length of the penis) to relax and fill with blood. As they expand, the corpora cavernosa close off other veins that would normally drain blood from the penis. As the penis becomes engorged with blood, it enlarges and stiffens, causing an erection. Problems with blood vessels, nerves, or tissues of the penis can interfere with an erection.
Conditions that may be associated with ED include diabetes, [25, 26, 27] hypertension,  , and CAD, as well as neurologic disorders, endocrinopathies, benign prostatic hyperplasia,  , sleep apnea  , COPD,  and depression (see Table 1 below). [32, 33, 34, 35] In fact, almost any disease may affect erectile function by altering the nervous, vascular, or hormonal systems. Various diseases may produce changes in the smooth muscle tissue of the corpora cavernosa or influence the patient’s psychological mood and behavior.
VED involved placing the penis in a clear plastic tube where negative pressure created by the vacuum pump leads to penile engorgement and tumescence. Usually a constriction ring can be placed on the base of penis following penile engorgement. Some men complain of bruising, a “cold” penis and pain associated with the constriction ring; however, in some men with NED sensation may not be intact mitigating the side effects of VEDs. VEDs have reported effectiveness up to 90% in certain ED populations and it remains a non-invasive means to achieve and erection.