Thanks for your question. Erectile dysfunction is certainly more common in older men but it also occurs in young men. There are a variety of reasons for this. You ask whether you have ED. This article called How to Determine if It's ED might help to answer your question.
This short video called What is Erectile Dysfunction? may also be useful. If the clues add up it may be wise to see your doctor.
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.