Spasms of the neck muscles could cause a headache. It is a type of headache known as a tension headache. Muscle spasms are probably caused by the static deformity of the neck spine â lordosis.
Treating the primary disorder (lordosis) could solve the headache, too.
You could consult a neurologist or orthopedist to confirm the diagnosis and to start therapy (painkillers, physical therapy etc.).