Bad pain

I had a bad pain on my right side of my stomach traveling to the right side of my back. I could barely move without it hurting worse let alone get up out the bed. I’m 32 weeks any idea of what that could’ve been ?