Occipital neuralgia is a condition that causes chronic headaches and pain in the back part of your head and neck due to irritation of the occipital nerve. The pain usually takes a cyclical course of pain-spasm-pain, traveling from the base of your neck and head, to the sides and front of your head. Medication, massage therapy and steroid injections are common forms of treatment for occipital pain. Certain exercises may also offer relief. Consult your doctor before trying these exercises.