losing your mucus plug

i’m 40 weeks and 1 day & just lost my mucus plug. how long after you lost yours did you go into labor? i’ve been having period like cramps for three days now & been dilated at 3 for two weeks.