If you have trouble getting an erection or maintaining your erection during sex, you may have erectile dysfunction (ED). This can occur for several reasons, both physical and psychological. It’s ...