Oral and maxillofacial surgery is typically performed under anesthesia to ensure that patients are comfortable and do not experience pain during the procedure. The type of anesthesia used will depend on the specific surgery and patient's needs. After the surgery, there may be some discomfort or pain, but the surgeon will prescribe appropriate pain medications to manage any postoperative discomfort.