The best way to prevent erectile dysfunction is to reduce the risks. For instance, a man with diabetes should try to control his blood glucose, blood pressure, and cholesterol as well as possible. It's also helpful to limit alcohol intake and stop smoking.
Ignoring the physical causes of erectile dysfunction may result in a permanent inability to achieve an erection.
Erectile dysfunction can affect relationships between partners, especially if men don't talk about the problem. Men should discuss the issue with their partners and seek out solutions together, if possible.