Hy I advise use cervical collar for some times.and if pain very severe consult a ortho or physio for further examination like digital x ray cervical spine nd shoulder.
Next Steps
apply ice pack in neck 2 times in a day.
Health Tips
avoid all movement in neck and pillow during sleeping time