Slept without my pillow underneath my neck…having neck and shoulder problems?

Two nights ago i slept without my pillow underneath my neck,for some reason it was more comfortable.But when i woke up,i wasnt comfortable at all.I couldnt turn my neck to the right because it hurt the right side of my neck and part of my upper back.At the end of the day,the pain faded but i couldnt sleep on the right side of my neck last night.When i woke up this mroning,the pain was even greater and with one little turn to the right,i felt like screaming because it hurt so bad.So i have been switching off with the heating pad and ice pack all day long and when i walk,i kinda tilt my head to the left just so it wont hurt.It feels comfortable that way.But now im really scared because i cannot keep my head straight and my right shoulder is lower than my left naturally.How can i fix this?Im scared!help!