Right side pain

A

22 weeks and I have right side pain. I've had it on and off for about 2 weeks but now it won't go away. it's been hurting for an hour now. it is sever pain. It hurts the worst when I sit down. Hurts when I'm standing, walking, sitting, breathing. The pain is starting to go towards the left through my stomach. Not sure if I should run to the doctors now or wait it out? Or If any one knows what this could be due to? I still feel baby kicking that's good. Could it be due to working out? I did a few lunges earlier before lunch. Any help would be appreciated.