The ED caused by that surgery may be either temporary or permanent.  However, it is important to have the doctor's opinion first before taking these oral medications because these would have negative side effects for the body.