While taking a pill is easy and often effective for ED, there are actually many other ways erectile dysfunction can be treated, such as: therapy, penile injections and surgery, in addition to oral medications. Each type of treatment has its own advantages and disadvantages. Always talk to your doctor for the treatment best for you.