Need advise!!!

I am almost 38 weeks pregnant and I have been keeping alot of pain with this pregnancy and my doctor said if my cervix was thinned or dilated he would go ahead and take her at my next appointment what would help your cervix thin out or dilate cause this pain is killing me and I want her out already it makes its so hard to do anything with my son when I'm constantly hurting all the time. So any of you know what would help thinning your cervix or dilate?