A common and important cause of ED is vasculogenic. Many men with ED have comorbid conditions such as hyperlipidemia, hypercholesterolemia, tobacco abuse, diabetes mellitus, or coronary artery disease (CAD).  The Princeton III Consensus recommends screening men who present with ED for cardiovascular risk factors; ED may be the earliest presentation of atherosclerosis and vascular disease. 
The first line and by far the most common treatment today is with the prescription drug sildenafil citrate, sold under the brand name Viagra. An estimated 20 million prescriptions for the pill have been filled since it was approved by the FDA in March 1998. It is also the most effective treatment with a success rate of more than 60%. The drug boosts levels of a substance called cyclic GMP, which is responsible for widening the blood vessels of the penis. In clinical studies, Viagra produced headaches in 16% of men who took it, and other side effects included flushing, indigestion, and stuffy nose.
Knowing about your history of ED will help your health provider learn if your problems are because of your desire for sex, erection function, ejaculation, or orgasm (climax). Some of these questions may seem private or even embarrassing. However, be assured that your doctor is a professional and your honest answers will help find the cause and best treatment for you.