Sharp pain while walking

Emily

I was very active prior to becoming pregnant and recently had to make huge changes in my routine. I figured as long as I could still walk, Id be happy. Whenever I walk I have this sharp stabbing pain in my upper right side of my stomach. The pain is so bad I can’t even move. I had it with my first pregnancy as well and the doctor told me it was round ligament pain, but everything I read about round ligament pain says walking should make it feel better. I also have a peloton and even spinning is excruciatingly painful for me. Is anyone else having any pain like this?