Is your neck sore or tight & achy too , or only headaches?
If neck is sore , you could have muscle tension and perhaps trigger points too.
trigger points can cause referred pain and depending on where they are they can cause headaches.
Here is a interactive chart -
http://www.pressurepointer.com/pain_reference_chart.htm