This pain may and may not be related with C5 and C6 problem.
Kindly explain the nature of pain you have.
Does it radiate to other side?
Is you headache localized to any one side?
Do you feel giddiness when you turn your neck or get a smaller jerk to your neck?
How did you get relief?
What kind of medicine give you maximum relief eg anti-migraine
,simple pain killer medicine etc?
Kindly provide the detail of your problem so I can guide you further.
Take care and Bye