Following a detailed discussion about the history of erectile dysfunction and its risk factors, your doctor will examine the testicles and penis to help determine the cause of erectile dysfunction. Your doctor will check reflexes and pulses in the area to see if problems with blood vessels or nerves are contributing to the erectile dysfunction. If necessary, your doctor will order tests to help diagnose erectile dysfunction.
ED can also occur as a side effect of some medications, for example some high blood pressure medications such as certain diuretics and beta blockers. If you think that a medication you are taking has a negative effect on your sex life, you should discuss this with your prescribing doctor. Your doctor may be able to recommend an alternative treatment.
The art of acupuncture has become the new treatment for everything from back pain, depression, and even ED. Impotence could be more of a state of mind, and acupuncture may help. Through this alternative therapy, fine needles are placed in various parts of the body to relieve pain or stress. Although there are many mixed studies for acupuncture and ED, many tend to confirm positive results. A 1999 study found acupuncture improved the quality of erection and even restored sexual activity in 39 percent of participants.
Erections are initiated and maintained via integration of afferent inputs in the supra sacral regions of the central nervous system. Regions of the brain cited to have key roles in the integration of signals include the medial amygdala, MPOA, periaqueductal gray matter, paraventricular nucleus (PVN), and ventral tegmentum among others (16). Studies in animal models, particularly in rats, have been paramount in identifying these key areas of signal integration and control. Electrostimulation of the MPOA, PVN and hippocampus lead to erection and lesions in these areas may prevent erection (17). Marson et al. injected labeled pseudorabies virus into rat corpora cavernosa and traced them to neurons in the spinal cord, brain stem and hypothalamus (18). Stimulation of the rat dorsal nerve led to increased firing in the MPOA not found elsewhere (19). Axonal tracing in animals have shows direct projections from the hypothalamus to the lumbosacral autonomic erection centers. Oxytocin and vasopressin have been identified as central neurotransmitters within the hypothalamic nuclei and may have a role in penile erection (17). These signaling studies identifying key areas of erectile response integration may explain how ED is associated with cerebrovascular accident (CVA), Parkinson’s, epilepsy and MS.
Cavernosography measurement of the vascular pressure in the corpus cavernosum. Saline is infused under pressure into the corpus cavernosum with a butterfly needle, and the flow rate needed to maintain an erection indicates the degree of venous leakage. The leaking veins responsible may be visualized by infusing a mixture of saline and x-ray contrast medium and performing a cavernosogram. In Digital Subtraction Angiography (DSA), the images are acquired digitally.
The Cancer of the Prostate Strategic Urologic Research Endeavor (CaPSURE) study, designed to determine whether an individual man’s sexual outcomes after most common treatments for early-stage prostate cancer could be accurately predicted on the basis of baseline characteristics and treatment plans, found that 2 years after treatment, 177 (35%) of 511 men who underwent prostatectomy reported the ability to attain functional erections suitable for intercourse. 
• Medications: About 25 percent of ED cases are caused by drugs. Many medications, including common medicines prescribed for diabetes and its complications, can cause ED. The most common offenders are blood pressure drugs, antihistamines, antidepressants, tranquilizers, appetite suppressants, and cimetidine (an ulcer drug). In addition, over-the-counter medications, including certain eye drops and nose drops, have been associated with ED. That does not mean you should stop taking these medications! Rather, you should discuss them with your doctor to determine whether a different dosage, an alternate medicine, or additional treatments will resolve the ED.
A vacuum erection device is a plastic tube that slips over the penis, making a seal with the skin of the body. A pump at the other end of the tube makes a low-pressure vacuum around the erectile tissue, which results in an erection. An elastic ring is then slipped onto the base of the penis. This holds the blood in the penis (and keeps it hard) for up to 30 minutes. With proper training, 75 out of 100 men can get a working erection using a vacuum erection device.