When to call ob

I’ve been having a constant cramp on the right side of my stomach. Feels like I pulled a muscle or something but nothing is helping the pain go away and it’s been about an hour now.