While pills for ED are convenient, some men sustain stronger erections by injecting medication directly into the penis. Drugs approved for this purpose work by widening the blood vessels, causing the penis to become engorged with blood. Another option is inserting a medicated pellet into the urethra. The pellet can trigger an erection within 10 minutes.
Prior to the introduction of PDE5i in 1998, intracavernosal vasoactive medications and penile implant surgery were the mainstays of treatment. Penile implant surgery involves placement of inflatable or malleable rods within the corpora cavernosa to provide rigidity for intercourse. Choice of which implant to place usually depends upon manual dexterity and function of the patient, patient anatomy, physician preference and surgical approach.
In their extensive review, Bassil and coworkers summarise the benefits and risks, with benefits such as improvement of sexual function, bone density, muscle strength, cognition and overall improvement in quality of life. Among the risks that have been suggested include erythrocytosis, liver toxicity, worsening of sleep apnoea and cardiac function, possibly increasing symptoms of benign prostatic hyperplasia (BPH). They also note that although a possibility of stimulation of prostate cancer has been hypothesised, no scientific or clinical evidence exists to this possible risk.38
Sildenafil is available as oral tablets at doses of 25 mg, 50 mg, and 100 mg. Patients should take sildenafil approximately one hour before sexual activity. In some men, the onset of action of the drug may be as early as 11-20 minutes. It's best for men to take sildenafil on an empty stomach for best results since absorption and effectiveness of sildenafil can be diminished if it is taken shortly after a meal, particularly a meal that is high in fat. Sildenafil and the other PDE5 inhibitors don't cause an immediate erection. Sexual stimulation is necessary for these medications to work.
Lifestyle choices that impair blood circulation can contribute to ED. Smoking, excessive drinking, and drug abuse may damage the blood vessels and reduce blood flow to the penis. Smoking makes men with atherosclerosis particularly vulnerable to ED. Being overweight and getting too little exercise also contribute to ED. Studies indicate that men who exercise regularly have a lower risk of ED.
Diabetes mellitus: Erectile dysfunction tends to develop 10 to 15 years earlier in diabetic men than among nondiabetic men. The increased risk of erectile dysfunction among men with diabetes mellitus may be due to the earlier onset and greater severity of atherosclerosis (hardening of the arteries) that narrows the arteries and thereby reduces the delivery of blood to the penis. Atherosclerosis can affect the arteries in the penis, as well as the arteries in the pelvis that supply the penile arteries. Diabetes mellitus also causes erectile dysfunction by damaging nerves that go to the penis, much like the effect of diabetes on nerves in other areas of the body (diabetic neuropathy). Diabetes can also affect the muscles in the penis, leading to troubles with erections. Smoking cigarettes, obesity, poor control of blood glucose levels, and having diabetes mellitus for a long time further increase the risk of erectile dysfunction in people with diabetes.
While studies are limited, it has been shown that male sexual dysfunction can also negatively impact the sexual function of female partners. A study comparing the sexual function of women with partners with erectile dysfunction to those without showed that sexual arousal, lubrication, orgasm, satisfaction, pain and total score were significantly lower in those who had partners with erectile dysfunction. Later in that study, a large proportion of the men with erectile dysfunction underwent treatment. Following treatment, sexual arousal, lubrication, orgasm, satisfaction and pain were all significantly increased. It was concluded that female sexual function is impacted by male erection status, which may improve following treatment of male sexual dysfunction.
Recently, the US Food and Drug Administration (FDA) has issued a safety announcement regarding TRT. In part it reads ‘The benefit and safety of these medications have not been established. We are also requiring these manufacturers to add information to the labeling about a possible increased risk of heart attacks and strokes in patients taking testosterone.’37
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.
Erythrocytosis has been noted in men on TRT, and should be monitored every 6–12 months depending upon the patients’ response to changes in haematocrit levels. For mild elevations, the dosage of testosterone can be decreased or the interval of using the medication can be increased. With the haematocrit greater than 50%, decisions to temporarily discontinue the medication or periodic phlebotomy may be indicated.38
Oral phosphodiesterase type 5 inhibitors (PDE5 inhibitors) unless contraindicated are the recommended first line medical therapy for erectile dysfunction. Currently, there are four different PDE5 inhibitors available. They all work the same way and have essentially the same results. They differ in how long they last in your body and in side effects.
Penis pumps produce erections by drawing blood, via air suction, into the penis. The devices consist of a cylindrical tube, 12 to 18 inches long, connected by a small air hose to a hand pump (on many models this resembles the squeeze mechanism on a blood pressure monitor). Users place the tube over the penis then pump to produce an erection. They must then place an elastic band around the base of the penis to keep the blood there and maintain the erection.
ED occurs in up to 70% of men with MS, and MS is one of the most prevalent neurological disorders that affect the younger adult population worldwide (33-35). The mean time for SD and ED to develop is about 9 years and is rarely a presenting symptom of MS (36). Men with MS and ED may continue to have nocturnal erections, and psychogenic erections; however, this does not mean they have psychogenic ED but could be an indicator that MS involves the spinal cord (37).
Several pathways have been described to explain how information travels from the hypothalamus to the sacral autonomic centers. One pathway travels from the dorsomedial hypothalamus through the dorsal and central gray matter, descends to the locus ceruleus, and projects ventrally in the mesencephalic reticular formation. Input from the brain is conveyed through the dorsal spinal columns to the thoracolumbar and sacral autonomic nuclei.
One of the first steps is to distinguish between physiological and psychological ED. Determining whether involuntary erections are present is important in eliminating the possibility of psychogenic causes for ED. Obtaining full erections occasionally, such as nocturnal penile tumescence when asleep (that is, when the mind and psychological issues, if any, are less present), tends to suggest that the physical structures are functionally working. Similarly, performance with manual stimulation, as well as any performance anxiety or acute situational ED, may indicate a psychogenic component to ED.
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. 
Tests such as the bulbocavernosus reflex test are used to determine if there is sufficient nerve sensation in the penis. The physician squeezes the glans (head) of the penis, which immediately causes the anus to contract if nerve function is normal. A physician measures the latency between squeeze and contraction by observing the anal sphincter or by feeling it with a gloved finger inserted past the anus.
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.