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).
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.
The American Urological Association Guideline on the Management of ED states oral PDE5i are considered first line therapy for the treatment of ED, unless contraindicated (57). Sildenafil, the first oral PDE5i, was introduced in 1998 and has revolutionized ED therapy due to its broad applicability, effectiveness and safety profile. PDE5i work by preventing hydrolysis of cGMP by the PDE5 enzyme in the smooth muscle of the corpora cavernosa. cGMP degradation typically leads to smooth muscle contraction and detumescence prevented by PDE5i administration. Two other PDE5i, vardenafil and tadalafil are other PDE5i with different pharmacokinetics, PDE receptor selectivity and side effect profiles.
Erectile dysfunction (ED) can be treated by urologists or other specialists or even by your general practitioner. Your doctor may recommend medication that works by relaxing penis muscles and increasing blood flow into the penis. Other treatments include therapy, implants, surgery and lifestyle changes, like exercising regularly, losing weight and eating right.
A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
Stress is your body responding to your environment. And it’s a good thing—in limited doses. When you get stressed out your body makes chemicals like adrenaline that make you stronger, faster, fitter, and even able to think more clearly. Most people call this reaction the “fight-or-flight” response, and it’s a life-saver in dangerous situations. In a very real sense, adrenaline makes you a part-time superhero. The problems happen when your body deals with constant stress.
Alprostadil is an FDA-approved erectile dysfunction drug that can be injected directly into the penis to trigger an automatic erection. "Penile injection is the most effective type of ED treatment for men who can't take oral treatment," says Nelson Bennett, MD, a urologist at the Lahey Clinic in Burlington, Mass. In fact, it has an 85 percent success rate. Possible side effects include a burning sensation and priapism, an erection that lasts more than four hours and requires medical treatment.
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.
ICI Alprostadil may be used as a mixture with two other drugs to treat ED. This combination therapy called "bimix or trimix" is stronger than alprostadil alone and has become standard treatment for ED. Only the Alprostadil ingredient is FDA approved for ED. The amount of each drug used can be changed based on the severity of your ED, by an experienced health professional. You will be trained by your health professional on how to inject, how much to inject and how to safely raise the drug's dosage if necessary.