Thanks for your query.Neck pain
that you are having are suggestive of degenerative spondylottic changes of the cervical spine
X-ray of neck in lateral view or MRI will help in the diagnosis.
1. Use of cervical collar
helps in immobilisation and brings relief.
2. Medical drugs like pain killers - acetaminophen/ibuprofen
and muscle relaxants might be helpful.
3. Cervical isometric exercises are beneficial to maintain the strength of the neck muscles. Neck and upper back stretching exercises, as well as light aerobic activities, also are recommended under the guidance of a physical therapist.
4. Hot fomentation helps in relieving acute symptoms.
5. You can avoid using a pillow.
I do hope that you have found something helpful and I will be glad to answer any further query.