Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: //medlineplus.gov/ency/patientinstructions/000396.htm

Erection problems - aftercare

You have seen your health care provider for erection problems. You may get a partial erection that is insufficient for intercourse or you may be unable to get an erection at all. Or you may prematurely lose the erection during intercourse. If the condition persists, the medical term for this problem is erectile dysfunction (ED).

Erection problems are common in adult men. In fact, almost all men have a problem getting or maintaining an erection at times.

Lifestyle

For many men, lifestyle changes can help with ED. For example, alcohol and illegal drugs may make you feel more relaxed. But they can cause ED or make it worse. Avoid illegal drugs, and consider limiting the amount of alcohol you drink.

Smoking and smokeless tobacco can cause narrowing of blood vessels all over the body, including those that supply blood to the penis. Talk to your provider about quitting.

Other lifestyle tips include:

  • Get plenty of rest and take time to relax.
  • Exercise and eat healthy foods to maintain good circulation.
  • Use safer sex practices. Reducing your worry about STDs may help prevent negative emotions that can affect your erection.
  • Talk with your provider and review your daily prescription medicine list. Many prescription medicines can cause or worsen ED. Some medicines you need to take for other medical conditions could add to ED, like medicines for high blood pressure or migraine medicines.

Talking With Your Partner

Having ED can make you feel bad about yourself. This can make it even more difficult to seek treatment and enjoy sexual activity.

ED can be a troubling issue for couples because it can be difficult for you or your partner to discuss the problem with each other. Couples who do not openly talk to each other are more likely to have problems with sexual intimacy. Likewise, men who have trouble talking about their feelings may be unable to share their sexual concerns with their partners.

If you have trouble communicating, counseling can be very helpful for you and your partner. Finding a way for both of you to express your feelings and desires, and then work on the issues together, can make a big difference.

Medicines, Herbs, and Supplements

Sildenafil (Viagra), vardenafil (Levitra, Staxyn), tadalafil (Cialis), and avanafil (Stendra) are oral medicines prescribed for ED. They cause erections only when you are sexually aroused.

  • The effect is most often seen within 15 to 45 minutes. The effects of these medicines may last for several hours. Tadalafil (Cialis) may last for up to 36 hours.
  • Sildenafil (Viagra) should be taken on an empty stomach. (Levitra) and tadalafil (Cialis) may be taken with or without food.
  • These medicines should not be used more than once a day.
  • Common side effects of these medicines include flushing, upset stomach, headache, nasal congestion, back pain, and dizziness.

Other ED medicines include drugs that are injected into the penis and tablets that can be inserted into the opening of the urethra. Your provider will teach you how to use these treatments if they are prescribed.

If you have heart disease, talk with your provider before using these medicines. Men who take nitrates for heart disease should not take ED medicines.

Many herbs and dietary supplements are marketed to help sexual performance or desire. None of these remedies have been proven effective for treating ED. Talk to your provider to see if any of these treatments are right for you. Treatment options other than medicines are available if medicines do not work for you. Talk to your provider about these treatments.

When to Call the Doctor

Call your provider right away or go to an emergency room if any ED medicine gives you an erection that lasts more than 4 hours. If this problem is not treated, you may suffer lasting damage to your penis.

To end an erection you may try to repeat climax and apply a cold pack to your genitals (wrap the pack in a cloth first). Never go to sleep with an erection.

Alternative Names

Erectile dysfunction - self-care

References

Burnett AL, Nehra A, Breau RH, et al. Erectile dysfunction: AUA guideline. J Urol. 2018;200(3):633-641. PMID: 29746858 pubmed.ncbi.nlm.nih.gov/29746858/.

Burnett AL, Ramasamy R. Evaluation and management of erectile dysfunction. In: Partin AW, Dmochowski RR, Kavoussi LR, Peters CA, eds. Campbell-Walsh-Wein Urology. 12th ed. Philadelphia, PA: Elsevier; 2021:chap 69.

Liu JL, Bivalacqua TJ. Erectile dysfunction. In: Sidawy AN, Perler BA, eds. Rutherford's Vascular Surgery and Endovascular Therapy. 10th ed. Philadelphia, PA: Elsevier; 2023:chap 191.

Zagoria RJ, Dyer R, Brady C. The male genital tract. In: Zagoria RJ, Dyer R, Brady C, eds. Genitourinary Imaging: The Requisites. 3rd ed. Philadelphia, PA: Elsevier; 2016:chap 8.

Review Date 7/1/2023

Updated by: Kelly L. Stratton, MD, FACS, Associate Professor, Department of Urology, University of Oklahoma Health Sciences Center, Oklahoma City, OK. Also reviewed by David C. Dugdale, MD, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Related MedlinePlus Health Topics