Take an ED drug. Such drugs can help men maintain erections for several hours at a time. They work by enhancing the effect of nitric oxide, which the body produces naturally to relax and increase blood flow to the penis. If you're interested in taking a drug specifically geared toward treating ED, talk with your doctor about getting a prescription.
The nerves and endothelium of sinusoids and vessels in the penis produce and release transmitters and modulators that control the contractile state of corporal smooth muscles. Although the membrane receptors play an important role, downstream signaling pathways are also important. The RhoA–Rho kinase pathway is involved in the regulation of cavernosal smooth muscle contraction. 
A larger national study, the National Health and Social Life Survey, looked at sexual function in men and women.4 This study surveyed 1,410 men aged 18 to 59 and also documented an increase in ED with age. Additionally, the study found a decrease in sexual desire with increasing age. Men in the oldest cohort (50 to 59) were more than 3 times as likely to experience erection problems and to report low sexual desire compared with men 18 to 29. Experience of sexual dysfunction was more likely among men in poor physical and emotional health. The study also concluded that sexual dysfunction is an important public health concern and that emotional issues are likely to contribute to the experience sexual dysfunction.
If you have symptoms of ED, it’s important to check with your doctor before trying any treatments on your own. This is because ED can be a sign of other health problems. For instance, heart disease or high cholesterol could cause ED symptoms. With a diagnosis, your doctor could recommend a number of steps that would likely improve both your heart health and your ED. These steps include lowering your cholesterol, reducing your weight, or taking medications to unclog your blood vessels.
Obesity and metabolic syndrome can cause changes in blood pressure, body composition, and cholesterol which may lead to ED. Other conditions that may contribute to erectile dysfunction include Parkinson’s, multiple sclerosis, Peyronie’s disease, sleep disorders, alcoholism, and drug abuse. Taking certain medications can also increase your risk for ED.
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.