The decision to have surgery is made by a healthcare provider after a thorough evaluation of your medical history, symptoms, and any diagnostic tests. Surgery is typically recommended when other treatment options have been exhausted or are not appropriate.