Shoulder/neck/head pain?

I was laying in bed and out of the blue felt extremely out of it. Like my mind wasn't here. Then a few minutes later I started getting really bad sharp pains on the right side of my head, neck, and shoulder. I'm 37 weeks and not sure what to do. The pain has been going on for about an hour now.