Aside from health issues, I would say that a majority of erection issues are due to bed room boredom and/or lack of interest in current partner. Since society frowns upon infidelity, the best thing you could do is read up on sex techniques and positions to spice up your routine.