Occasional successful sexual function and early morning erections do not preclude the possibility of endocrine dysfunction. Since abnormally low levels of testosterone frequently are the primary cause of impotence, it is recommended that determination of the blood level of testosterone be an integral part of the total evaluation of the impotent patient.
There are many effective treatments for impotence. The most popular is a class of drugs called phosphodiesterase type 5 (PDE5) inhibitors. These include sildenafil (Viagra), vardenafil (Levitra), tadalafil (Cialis) and avanafil (STENDRA). These drugs are taken in pill form. They work in most men. But they are less effective in men with neurological causes of impotence.
Talk with your doctor before trying supplements for ED. They can contain 10 or more ingredients and may complicate other health conditions. Asian ginseng and ginkgo biloba (seen here) are popular, but there isn't a lot of good research on their effectiveness. Some men find that taking a DHEA supplement improves their ability to have an erection. Unfortunately, the long-term safety of DHEA supplements is unknown. Most doctors do not recommend using it.
In a prospective study from the Prostate Cancer Prevention Trial database, Thompson et al reported that men presenting with ED had a significantly higher chance of developing a cardiovascular event over a 7-year follow-up period.  The hazard ratio was 1.45, which is in the range of risk associated with current smoking or a family history of MI.
Tadalafil shares the common side effects of the PDE5 inhibitors, however, due to its effect on PDE11, another phosphodiesterase located in muscle, tadalafil has been associated with muscle aches. Back pain and muscle aches occur in less than 7% of men taking tadalafil and in most patients will go away without treatment within 48 hours. When treatment was necessary, acetaminophen (Tylenol) and nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen (Motrin, Advil) or naproxen (Aleve) were effective. Rarely do the muscle aches and back pain cause men to stop using tadalafil.
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.