Crippling pain

Hey guys so on Thursday I ended up in my midwife’s office because I had crippling pain that doubled me over and brought tears to my eyes. They couldn’t figure out what was going on. But it’s still going on and it hurts so bad the only thing the only thing that helps is if I lay down and that only helps at times. The pain is centralized in the areas I circled and mainly on my left side. I’m currently 25 weeks pregnant. Has any other pregnant mommas had this before? Or could give me advice on what to do?