Doctors may recommend surgery for erectile dysfunction when medications and other noninvasive treatments are ineffective. The most common surgical option involves implanting a penile prosthesis, with ...