mucus plug

Daisy
Last night i had horrible cramping/ contractions? Pain woke up this morning losing my mucus plug...then some contractions started kicking in🤔🤔🤔 my due date is November 4? How long does this mucus plug last?? Also any suggestions on what to do next.Â