What can i do to relieve my 9yr old daughter's stiff neck?

I believe my daughter slept wrong. She can’t move her neck upright and th the left. This causes her a lot of pain and makes her cry. Tell me what I can do to relieve her pain and help loosen her muscles?