Try a warm bath for a sore neck!
Warm baths. Besides helping with sleep, a warm bath can soothe achy joints and relax muscle tension.
Don't Crane Your Neck
When working, your computer monitor should be slightly below eye level and straight ahead. It should be about an arm's length away from your face, so you can easily read the screen without leaning your head forward.
Do range of motion exercises for neck health
When you're watching TV or sitting at your desk adjust your position frequently and periodically tilt your neck from side to side.