"Flexibility and stretching exercises can expand or preserve the range of motion and elasticity in affected cervical joints, and thus relieve the stiffness that leads to pain. As a general rule, neck stretching is best done every day, and some stretches should be done several times a day. Examples include the corner stretch and levator scapulae stretch.
"Specific strengthening exercises will help maintain improved posture, which in turn will lessen or eliminate recurrent flare-ups of pain. As a general rule, neck strengthening exercises should be done every other day to allow muscles time to repair themselves. Examples include prone cobra and chin tuck."
"An exercise I do to relieve my neck pain is neck rotation, both side-to-side and front-and-back."
"First, is the neck pain acute or chronic -- is it likely a pinched nerve, or did you just "sleep funny"? Is it something you should see a doctor or physical therapist about first? Once you've answered these questions a combination of stretches and exercises you might do are chin tucks (which can be held as a stretch as well), scalene stretches (for posterior and anterior), levator scapulae stretch, isometric strengthening exercises and cervical range of motion.
"Stretches and exercises for your neck are best done slowly. Try to do a few reps as tolerated and hold stretches for at least 15 seconds."
What Are Some Exercises I Can Do to Help Relieve Neck Pain?