In the immediate aftermath of surgery, discomfort may be around the wound, but this can usually be managed with simple pain medications. Air and blood products can also irritate the brain lining, resulting in headaches. Due to the absence of pain nerves in the skull and brain, surgery on the head is generally not painful.