37 weeks

Was at hospital 2 days ago because of contractions that were 2-5 minutes apart. Found out baby is also laying on a nerve so I've been also getting shooting pains on my right side down to my right knee. They told me they can't do anything at all since I'm not dilating. The pains are now getting even more worse and I can maybe get an hour of sleep at night because of it. A little bit ago I got up to go pee and I am hunching over because I can't even bend down or stand straight now. I don't know what to do at this point. I've tried everything and anything :(