The most common diagnostic test for erectile dysfunction is called penile ultrasound. This test uses sound waves to look for abnormal penile blood supply. Another test that may be done is nocturnal penile tumescence testing, in which a type of computer is attached to the penis to see if nighttime erections are occurring. If a young man is having nighttime erections but can’t get an erection during sex, a psychological cause becomes more likely.
Lifestyle changes: One of the first things a young man can do to potentially improve or eliminate ED is make positive choices that will also have an impact on the rest of his life. Some changes a man can consider include increasing exercise, eating a heart-healthy diet, quitting smoking, and drinking alcohol only in moderation. Where a man has relationship problems, seeking counseling may also be helpful.
• Medications: About 25 percent of ED cases are caused by drugs. Many medications, including common medicines prescribed for diabetes and its complications, can cause ED. The most common offenders are blood pressure drugs, antihistamines, antidepressants, tranquilizers, appetite suppressants, and cimetidine (an ulcer drug). In addition, over-the-counter medications, including certain eye drops and nose drops, have been associated with ED. That does not mean you should stop taking these medications! Rather, you should discuss them with your doctor to determine whether a different dosage, an alternate medicine, or additional treatments will resolve the ED.