The most common inflatable prosthesis is the three-piece penile prosthesis. It is composed of a pair of cylinders that are surgically placed into the corpora cavernosa, a reservoir containing sterile fluid that is placed in the abdomen and a pump that is placed in the scrotum. Tubing connects the cylinders, reservoir, and the cylinders. By pressing the pump several times, fluid is transferred from the reservoir into the cylinders. As the cylinders fill with fluid, they increase in width and this causes the erection. When one is finished with sexual activity, pressing the release valve on the pump allows the fluid to drain out of the cylinders back into the reservoir. Given the mechanical nature of the three-piece prosthesis, it has a greater risk of mechanical malfunction; however, modifications have been made such as lock out valves to prevent the prosthesis from automatically inflating as well as improving the tubing to prevent tubing leaks.
Is your erectile dysfunction due to psychological (stress, relationship problems, etc.) or physical factors? Your doctor may ask if you note erections at night or in the early morning. Men have involuntary erections in the early morning and during REM sleep (a stage in the sleep cycle with rapid eye movements). Men with psychogenic erectile dysfunction (erectile dysfunction due to psychological factors such as stress and anxiety rather than physical factors) usually maintain these involuntary erections. Men with physical causes of erectile dysfunction (for example, atherosclerosis, smoking, and diabetes) usually do not have these involuntary erections. Men with psychogenic erectile dysfunction may relate the onset of problems to a "stressor," such as failed relationship. Your doctor may suggest a test to determine if you have erections during sleep, which may suggest that there may be a psychological cause of the erectile dysfunction.
However, a review of a United Kingdom medical record database found no evidence that the use of 5-alpha reductase inhibitors independently increase the risk for ED. In 71,849 men with benign prostatic hyperplasia (BPH), the risk of ED was not increased with the use of finasteride or dutasteride only (odds ratio [OR] 0.94), or a 5-alpha reductase inhibitor plus an alpha blocker (OR 0.92) compared with an alpha blocker only. In addition, the risk of ED was not increase in 12 346 men prescribed finasteride 1 mg for alopecia, compared with unexposed men with alopecia (OR 0.95). The risk of ED did increase with longer duration of BPH, regardless of drug exposure. 
Injection therapy: The modern age of such drug therapies began in 1993 when the injection of papaverine (Pavabid), an alpha-blocker that produces vasodilatation (widening of the blood vessels), was shown to produce erections when injected directly into the penis. Soon afterward, other vasodilators, such as prostaglandin E1 (PGE 1) monotherapy (Caverject, Edex), PGE1 and phentolamine (Regitine), and Trimix (papaverine, phentolamine and prostaglandin E1), were demonstrated to be effective. The benefit of combination therapy is the decreased dosing of each with less side effects. Most important is the reduction of the prostaglandin PGE1 dosing, which is associated to the localized pain.
Medical conditions, such as hypertension, diabetes mellitus, and cardiovascular disease (CVD), and psychological conditions, such as depression and anxiety, also contribute to sexual dysfunction in middle-aged or elderly men. CVD and hypertension cause a narrowing and hardening of the arteries, leading to reduced blood flow to the corporal bodies, which is essential for achieving an erection. Diabetes is a common aetiology of sexual dysfunction, because it can affect both the blood vessels and the nerves that supply the penis. Men with diabetes are four times more likely to experience ED, and on average, experience ED 15 years earlier than men without diabetes.7 Obesity is also correlated to the development of several types of dysfunction, including a decrease in sex drive and an increase in episodes of ED.8
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.
Their treatment plan will include a great deal of information about ED. It is important you take the time to read it all. You will be better prepared to manage your condition as a partner—and not just a patient. Also, erectile dysfunction is often a symptom of a more serious underlying condition—like heart disease, diabetes, high blood pressure, or even depression. That’s why we want you to learn as much as you can. Nothing would be a sign of our success more so then if you could resolve the condition that causes your ED instead of needing to use the medications your doctor prescribes. We strongly recommend optional laboratory tests. You do not need to get them to receive treatment but it can be one of the best things you can do for your health in the long run.
The other 5 percent of prostheses are either pump devices in which the saline is permanently in the prosthesis, not in a separate reservoir (urologists may recommend this for men who have had multiple surgeries); or a pair of semi-rigid, malleable rods implanted in the penis, which render it hard at all times. The patient manually shifts the penis into an erect position for sex.
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.