In some cases, nocturnal penile tumescence testing is performed to find out whether the man has erections while asleep. Healthy men usually have about four or five erections throughout the night. The man applies a device to the penis called a Rigiscan before going to bed at night, and the device can determine whether he has had erections. (If a man is able to have normal erections at night, this suggests a psychological cause for his impotence.)
Erection is a vascular event. The penis becomes rigid when blood flow to the corpora cavernosa increases sixfold and venous outflow is physiologically impeded. Penile perfusion is governed by three organ systems—the neurologic, circulatory, and endocrinologic systems—each necessary for potency. The neurologic system accounts for vasodilation and venoconstriction of the corporal blood vessels so that blood is shunted to the erectile tissues; the circulatory system provides adequate blood flow to the hypogastric-cavernous bed, a distal branch off the internal iliac vessels; and the endocrine system, mediated by testosterone, plays a permissive role through mechanisms that have yet to be elucidated.
Alprostadil self-injection. With this method, you use a fine needle to inject alprostadil (Caverject Impulse, Edex) into the base or side of your penis. In some cases, medications generally used for other conditions are used for penile injections on their own or in combination. Examples include papaverine, alprostadil and phentolamine. Often these combination medications are known as bimix (if two medications are included) or trimix (if three are included).
The most common treatment for erectile dysfunction is drugs known as phosphodiesterase-5 (PDE-5) inhibitors. These include tadalafil (Cialis), vardenafil (Levitra), and sildenafil citrate (Viagra). These are effective for about 75% of men with erectile dysfunction. They are tablets that are taken around an hour before sex, and last between 4 and 36 hours. Sexual stimulation is required before an erection will occur. The PDE-5 inhibitors cause dilation of blood vessels in the penis to allow erection to occur, and help it to stay rigid. Men using nitrate medication (e.g. GTN spray or sublingual tablets for angina) should not use PDE-5 inhibitors.
The user should stop using the vacuum pump if pain occurs... Use of a vacuum pump may bruise or rupture the blood vessels either immediately below the surface of the skin or within the deep structures of the penis or scrotum, resulting in hemorrhage and/or the formation of a hematoma. There is now sufficient information available regarding the risks, benefits, and use of vacuum pumps.
The history can be useful in distinguishing organic from psychogenic impotence (Table 187.1). The patient with organic impotence describes problems with erection that progress over months to years. At first, the patient will have partial erections or seemingly firm erections that become flaccid during intercourse. With time, total erectile failure ensues. Organic impotence is constant and nonselective, meaning it is not better or worse with any specific partner or any type of stimulation.
The dorsal artery provides for engorgement of the glans during erection, whereas the bulbourethral artery supplies the bulb and the corpus spongiosum. The cavernous artery effects tumescence of the corpus cavernosum and thus is principally responsible for erection. The cavernous artery gives off many helicine arteries, which supply the trabecular erectile tissue and the sinusoids. These helicine arteries are contracted and tortuous in the flaccid state and become dilated and straight during erection. 
Whenever I am prescribing a medication to a patient, I’m always asking myself, what can the patient do before requiring the medication? What changes do they have to make in order to reduce the amount of medication or preclude their even needing it? So a good candidate is somebody who has an understanding of a healthy lifestyle, about physical activity, about sleep, about nutrition, alcohol, smoking. So patients, individuals, have to do their share before they’re a candidate for anything. All right?
Patients should continue testosterone therapy only if there is improvement in the symptoms of hypogonadism and should be monitored regularly. You will need periodic blood tests for testosterone levels and blood tests to monitor your blood count and PSA. Testosterone therapy has health risks, and thus doctors should closely monitor its use. Testosterone therapy can worsen sleep apnea and congestive heart failure.
There are, as you listen to all of the advertisements, if your erection lasts for more than four hours, there are very, very unusual cases where that can happen. There are very rare cases of visual problems. There are even rarer cases of hearing problems. But with every medication, there always a potential downside. But the absolute contraindication is an unstable medical condition, an unstable cardiovascular condition, being on nitrates.
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. 
Usually there will not be a specific treatment that will lead to the improvement of erectile dysfunction. However, there are treatments that will allow erections to happen and can be used to allow sexual activity to take place. There are three main types of treatments: non-invasive treatments such as tablet medicines and external devices (e.g. vacuum device); penile injections; or for men who have not had success with other treatments, surgery may be an option.
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.
Vacuum devices for ED, also called pumps, offer an alternative to medication. The penis is placed inside a cylinder. A pump draws air out of the cylinder, creating a partial vacuum around the penis. This causes it to fill with blood, leading to an erection. An elastic band worn around the base of the penis maintains the erection during intercourse.