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). 
Erectile dysfunction (ED) is one of the most common conditions affecting middle-aged and older men. Nearly every primary care physician, internist and geriatrician will be called upon to manage this condition or to make referrals to urologists, endocrinologists and cardiologists who will assist in the treatment of ED. This article will briefly discuss the diagnosis and management of ED. In addition, emerging concepts in ED management will be discussed, such as the use of testosterone to treat ED, the role of the endothelium in men with ED and treating the partner of the man with ED. Finally, future potential therapies for ED will be discussed.
For best results, men with ED take these pills about an hour or two before having sex. The drugs require normal nerve function to the penis. PDE5 inhibitors improve on normal erectile responses helping blood flow into the penis. Use these drugs as directed. About 7 out of 10 men do well and have better erections. Response rates are lower for Diabetics and cancer patients.