Doctors typically treat appendicitis by removing the appendix. This surgery is called an appendectomy. Surgeons perform the operation with general anesthesia link in a hospital.