Generally, the surgery is done with general anesthesia. However, depending on the situation local anesthesia could be used.