36 weeks

I'm 36 weeks today & im having awful back and pelvic pains. My baby is measuring 1-2 weeks ahead. I go to the Dr today and get checked to see if I'm dilated. If this pain normal or does it mean were progressing to labor? Any thoughts.