ED is most commonly treated through oral medication. Sex therapy, penal injection and, in extreme cases, penile surgery may also be used.