You can try applying an ice or heat pack to the painful muscles or take over-the-counter pain relievers when necessary. Try to be aware of the neck postures and positions that worsen the pain and avoid them.