Any advice

The last 2 weeks I’ve had contractions. At first they were just strong Braxton Hicks, but have progressed to sharp pains in my lower back & tightness in my belly. I was in the hospital last 3 days straight & was only .5cm dilated. This week it’s the same thing they start off as strong Braxton Hicks then progress to this really sharp lower back pain, but I’m not dilating.

Does this mean I won’t be able to have my baby vaginally? I’m 34 weeks, I know there’s time, but I’m just concerned because this is really painful for me not to dilate