In horrible pain, please help!

Last night I woke up with shooting pain in the upper right side of my abdomen (like by my ribs). I blew it off as heartburn.
Its continued this morning and even gotten worse. I can't even walk. It's so much pain I had to fall to the floor while trying to make my way to the bathroom.
I called my doctor and she said it's probably ligament pain but I've had that before and it feels different. This pain is like being stabbed.
It also got extremely worse after I ate dinner. No bleeding/discharge or any other symptom.
I'm almost 24 weeks pregnant. I can feel our little girl kicking normally so I know she's okay.
Wondering if this may be gallstones? If so what should I do?

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors