In some cases, yes. This is especially true when erectile dysfunction is related to emotional or mental health issues or it is caused by a change in hormones. For the former, men are encouraged to deal with stress and seek counseling to help them with any issues they are experiencing. In the case of hormone imbalance, it is possible to prevent the problem by anticipating and prevent hormone spikes and dips as our bodies change. Maintaining good health in general is also preventative.