These nerves provide sensation to the back of the head, and have no motor function. Inflammation and irritation of these nerves can cause a myriad of problems and pain in the head. Nerve blocks of the occipital nerve are done in the office and it only takes minutes to perform. These nerves often can be a contributing factor in chronic headaches and pain in the upper neck.