This content is provided as a service of the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the National Institutes of Health. The NIDDK translates and disseminates research findings through its clearinghouses and education programs to increase knowledge and understanding about health and disease among patients, health professionals, and the public. Content produced by the NIDDK is carefully reviewed by NIDDK scientists and other experts.
Both ED and low testosterone (hypogonadism) increase with age. The incidence of the latter is 40% in men aged 45 years and older.  Testosterone is known to be important in mood, cognition, vitality, bone health, and muscle and fat composition. It also plays a key role in sexual dysfunction (eg, low libido, poor erection quality, ejaculatory or orgasmic dysfunction, reduced spontaneous erections, or reduced sexual activity). 
It appears that testosterone has NOS-independent pathways as well. In one study, castrated rats were implanted with testosterone pellets and then divided into a group that received an NOS inhibitor (L-nitro-L-arginine methyl ester [L-NAME]) and a control group that received no enzyme.  The castrated rats that were given testosterone pellets and L-NAME still had partial erections, a result suggesting the presence of a pathway independent of NOS activity.
Implantation of penile prosthesis remains an important option for men with ED if medical treatment fails or is inappropriate. Prostheses are available as a saline-filled silicone device or a malleable device. The benefit of the former is a more natural appearance in the deflated state, closely approximating the appearance of a flaccid penis. The trade-off is a higher mechanical failure rate and higher cost. Satisfaction rates for patients who underwent penile prosthesis surgery have been reported to be near 90%.36 However, in the majority of patients who receive this treatment, less invasive alternatives have failed and therefore satisfaction with this treatment would be expected to be higher in this subset of patients. Risks of these devices include surgical and anesthetic risk, device infection, and device malfunction. Mechanical failure rates depend on the specific device being investigated. Overall, the percentage of devices that are free from mechanical failure at 5 years ranges from 84% to 94%.19 Infection rates in the era of coated devices and improved techniques are reported to be less than 1%.37
A physical exam checks your total health. Examination focusing on your genitals (penis and testicles) is often done to check for ED. Based on your age and risk factors, the exam may also focus on your heart and blood system: heart, peripheral pulses and blood pressure. Based on your age and family history your doctor may do a rectal exam to check the prostate. These tests are not painful. Most patients do not need a lot of testing before starting treatment.