It seems from the history that you are having headache associated with neck pain
and it is increasing on bending forwards.
This can be because of primary headaches
like migraine or because of problems affecting the neck like spondylosis
As of now you can take analgesic
and antiinflammatory drugs for pain relief.
Later you need evaluation by your doctor to find out the underlying cause and treatment accordingly.