Hi and Thanks for your query.Neck pain
that you are having are suggestive of degenerative spondylottic changes of the cervical spine
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.
As you try these measures, I also encourage you to consult an orthopedician for both evaluation and to avail stronger prescription medications (if over the counter medications are not helpful)
I do hope that you have found something helpful and informative and I will be glad to answer any further query.