A 68-year-old woman is evaluated for neck pain of 4 days' duration. The pain developed abruptly and awakened her from sleep. It is located in the posterior neck without radiation down the arms and worsens with neck movement but improves with recumbency. She reports no trauma, fever, muscle weakness, or weight loss. Medical history is significant for ductal carcinoma in situ treated 10 years ago without evidence of recurrence. Her only medication is naproxen for control of pain.

On physical examination, vital signs are normal. Both passive and active range of motion of the neck are severely reduced. Rotation of her head is limited by pain. The cervical paraspinal muscles are tight and tender to palpation. Upper extremity muscle strength and reflexes are normal.

Which of the following is the most appropriate management of this patient?