Getting an erection involves your blood vessels, nerves, body chemicals and state of mind.
If there is a problem with any of these things it may cause erection difficulties. That's why men who have medical conditions that affect the blood vessels (like high blood pressure) or the nerves (like multiple sclerosis) are more likely to have erection problems than men who don't have these medical conditions.
If men aren't in the right state of mind for sex, this can also cause erection problems. This sometimes happens if men are unhappy in their relationships or lacking in self-confidence.
Whatever the cause, your doctor is the best person to ask for help with erection problems. They can help you to get your sex life back on track, so talk to your doctor today!