If a hole in the appendix is due to a ruptured appendix or perforation, immediate surgery is usually required. The surgeon will clean the abdominal cavity, remove the appendix, and repair the hole. To avoid additional difficulties, it is vital to seek medical care as soon as possible.