The prevalence of erectile dysfunction (ED) increases with age. There are several options in the diagnosis and treatment of the patients. Some patients with occult cardiovascular diseases might appear with only the complaint of ED. The patients are reluctant to tell their sexual problems. The purpose of healthcare providers should be to find out and direct the patients with ED which is an issue capable of decreasing quality of life. The treatment has become easier with the widespread use of some new oral medications. These drugs are phosphodiesterase type V enzyme inhibitors and have decreased the use of other more invasive treatment options. Optimal treatment of the patients might increase the quality of life of both the male and his partner. In this review, the options in the diagnosis and treatment of ED are discussed.