Surgery may be done to open fallopian tubes or repair other problems of the reproductive organs. It may be done to remove growths such as polyps or fibroids. Surgery also may be done to remove scarring that occurred as a result of a previous surgery, infection, or endometriosis. If endometriosis is found, surgery may be done to treat it. Success rates depend on the nature and extent of the problem.