3+3 weeks bad cramp when lying down. Is this normal?

I was lying down sort of on my back with my knees bent close to my stomach (this is how I like to sleep). When I rolled completely on my side I got a sharp pain in my uterus. I then rolled back onto my back and the pain continued and then slowly faded. The pain was felt basically throughout my entire uterus. Any ideas?