I officially cannot walk. What do I do?

I have some sort of autoimmune issue along with a couple slipped disks in the lumbar region. I'm currently using a bedside commode to use the bathroom and when I do I am screaming in pain. Making noises I didn't know I had in me and I gave birth unmedicated.

I am almost out of pain medication. I have doubled my fentanyl patches. I still don't sleep without sleep meds.

I don't know where to go. I know the ER doesn't do pain management but where do you go when you are slowly losing function?

Edit for update and more details: I am headed to the ER. I had an appointment with my primary and he said I need to be admitted and the only way is through the ER in my state. He thinks I need imaging and at minimum a rehab facility and potentially more if my imaging is not good. I'm autistic and have had issues with the ER and not believing my pain before so I'm already crying about it. How many ERs is it gonna take?