A medical exam may help your doctor understand what's causing your problem. ED is sometimes the first sign of some other health problem, so your doctor may check your overall health. They may also examine your penis, scrotum, and testicles. Tell your doctor about all of the medicines you take. This includes prescription and over-the-counter medicines, as well as any vitamins, herbs, or supplements. Health conditions, such as diabetes, chronic kidney disease, depression, and hypogonadism can lead to a decreased sex drive.