Prodromal labor and 36 weeks

Suni

Thought it was Braxton hicks. Had already a scheduled non stress test. Turns out I was having contractions. Doctor said I'm not dilated and the babies head is floating. She stated it's my bodies reaction to getting ready for labor. Anyone else experience this? And if so how long after did you go into labor. Thanks.