It could be due to cervical spondilosys
this is quite a common condition
rule out diabetes
& vit. D deficiency or any other metabolic disorder.
Sleep on a hard bed with soft bedding on it.
Use no pillow under the head.
Any way take ibuprofen
200mg od & sos x 5days caldikind
plus (mankind) 1 tab odx10days
do neck & back (spine) exercises
use of cervical collar will give you relief.
It may have to be further investigated.
Make sure you are not allergic to any of the medicines you are going to take
you will need other supportive medicines also.
Do ask for detailed treatment plan. Do not ignore. It could be beginning of a serious problem.