How to deal with a lingering neck cramp

I probably slept on my pillow or arm for to long in the
wro
ng position, and now have this constant pain when trying
to look to the right.