Monitoring erections that occur during sleep (nocturnal penile tumescence) can help you and your doctor to understand if the erectile dysfunction is due to psychological or physical causes. The nocturnal penile tumescence test is a study to evaluate erections at night. Normally men have three to five erections per eight hours of sleep. The test can be performed at home or in a sleep lab. The most accurate way to perform the test involves a special device that is connected to two rings. The rings are placed around the penis, one at the tip of the penis and the other at the bottom (base) of the penis. The device records how many erections occur, how long they last, and how rigid they are. The test is limited in that it does not assess the ability to penetrate.
The phrase “use it before you lose it” can be applied when it comes to helping men with ED regain normal erectile function. Pelvic exercises, more commonly known as kegel exercises, are used to promote urinary continence and sexual health. They help to strengthen the bulbocavernosus muscle, which does three things: allows the penis to engorge with blood during erection, it pumps during ejaculation, and it helps empty the urethra after urination, according to Healthline.
The vacuum device creates a vacuum to pull blood into the penis. Unlike a normal erection, the inflow of blood does not continue once the individual removes the vacuum device. The rubber band placed at the base of the penis constricts the penis to prevent the blood from leaving the penis. As there is no inflow or outflow of blood when the rubber band is in place, it is uncommon for the tip of the penis (the glans) to appear a little blue and the penis to be cooler. Once intercourse is completed, the individual removes the rubber band and the blood drains out of the penis.
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).
Nerve or spinal cord damage: Damage to the spinal cord and nerves in the pelvis can cause erectile dysfunction. Nerve damage can be due to disease, trauma, or surgical procedures. Examples include injury to the spinal cord from automobile accidents, injury to the pelvic nerves from prostate surgery for cancer (prostatectomy), and some surgeries for colorectal cancer, radiation to the prostate, surgery for benign prostatic enlargement, multiple sclerosis (a neurological disease with the potential to cause widespread damage to nerves), and long-term diabetes mellitus.
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. 
If you are taking medications (alpha-blockers) for problems with an enlarged prostate, you should discuss your prostate medications with your doctor. Alpha-blockers also can cause lowering of the blood pressure. Thus your doctor will need to carefully watch your blood pressure when you start the PDE5 inhibitor. Common alpha-blockers include doxazosin (Cardura), terazosin (Hytrin), and tamsulosin (Flomax).
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
One study by Palmer and colleagues evaluated sildenafil use in SB males with thoracic lesions (76). A prospective, blinded, randomized, placebo-controlled, dose-escalation, crossover study in 17 patients with SB and ED was performed. All study participates took sets of tablet in groups, two sets of placebo, one of 25 mg, and the last 50 mg. Overall response to the tablet sets was measured by IIEF response and self-report of erectile rigidity. Patients reported that taking 50 mg of sildenafil led to improved erections, duration of erections, frequency of erections and level of confidence compared to sildenafil 25 mg and more significantly compared to placebo. Of the five patients who reported side effects, two experienced mild hematological changes that reverted to baseline after study completion.
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.
Picture of penile tumescence monitor. This penile tumescence monitor is placed at the base and near the corona of the penis. It is connected to a monitor that records a continuous graph depicting the force and duration of erections that occur during sleep. The monitor is strapped to the leg. The nocturnal penile tumescence (NPT) test is conducted on several nights to obtain an accurate indication of erections that normally occur during the alpha phase of sleep.
Arterial vascular diseases account for nearly half of all cases of ED in men older than 50 years of age. Arterial vascular disease includes atherosclerosis (fatty deposits on the walls of arteries, also called hardening of the arteries), which may affect the heart (history of heart attacks, angina, coronary artery disease, myocardial infarct) or blood vessels in the legs, peripheral vascular disease (problems with blood circulation to the legs), as well as other areas of the body including blood vessels supplying blood to the penis and high blood pressure. Prolonged tobacco use (smoking) is considered an important risk factor for ED because it is associated with poor circulation and reduced blood flow in the penis. This is related to microvascular damage (stiffening of the artery as well as smaller caliber vessel size secondary to endovascular atherosclerotic plaques).
Another approach is vacuum therapy. The man inserts his penis into a clear plastic cylinder and uses a pump to force air out of the cylinder. This forms a partial vacuum around the penis, which helps to draw blood into the corpora cavernosa. The man then places a special ring over the base of the penis to trap the blood inside it. The only side effect with this type of treatment is occasional bruising if the vacuum is left on too long.
Sexual dysfunction and ED become more common as men age. The percentage of complete ED increases from 5% to 15% as age increases from 40 to 70 years. But this does not mean growing older is the end of your sex life. ED can be treated at any age. Also, ED may be more common in Hispanic men and in those with a history of diabetes, obesity, smoking, and hypertension. Research shows that African-American men sought medical care for ED twice the rate of other racial groups.