pain on my right side

Naomi
I noticed a couple of days ago that I had a pain on the right side of my body kinda going up my back, it only hurt when I would lift up my right leg or bend over but not its hurting more like a permanent cramp, before it just felt like a pulled muscle and it's kinda making my stomach hurt too does anybody know what this is? or what to do?