Contractions aren’t doing anything!!!!

So I’ve been experiencing real contractions they had to stop them a couple of times. But these painful contractions aren’t doing anything useful like dilate my cervix lol. I’m almost 38 weeks and they won’t stop my contractions no more but they’re just painful and pretty much not doing anything!!!!