I would suggest you to do some neck
exercises every day, maintain a good posture while sitting and
make sure your head and neck
are well supported when lying down.
Other possibilities like cervical spine stenosis, disc herniation or prolapse also need to be ruled out. I would suggest you to get a clinical exam done if the pain
persists even after
correcting the posture because then the possibility of sinusitis and neuralgias also should be looked into.