Hi J.!
I am very familiar with that pain. I got it around 34 weeks. It was AWFUL!! At times, I couldn't walk either. It hurt to sit, stand, lie down, etc...I thought to myself too that I couldn't go through the next 6 weeks like this either. I called the doctor at the emergency room when it started and they told me that it is normal for some women to experience and that it could last for the remainder of the pregnancy. I wanted to cry because the pain was excruciating! They mentioned that sometimes the position of the baby can cause that pain. I think that is was in my case. The pain lasted for a total of a week or so. The extreme pain part lasted only for a few days but it felt like months!
I did Sitz baths with the aid of my husband because I couldn't get in and out of the tub by myself. I did prenatal yoga stretches which helped alot! And I prayed for God to help this pain subside. I also didn't move around a whole lot either.
I hope that helps. Hopefully, Your pain will go away soon too! Take care and best wishes to you and your baby!