You had a craniotomy, which is the surgical opening of the skull. Your healthcare provider needed to do this to perform brain surgery. Recovery after a craniotomy varies, depending on why the procedure was done. The guidelines provided here are for general care. Ask your healthcare provider to provide additional information based on your specific condition.