Labor

I got my cervix checked today and the doctor said it was 1 cm dilated on the outside and soft but still thick. I am getting contractions that are getting more painful. I'm 35 weeks. What does this mean? Like am I in early labor ?