Mucus plug

Laci
Im 34 weeks pregnant and ive been loosing what seems to be my mucus plug. My question is can you loose it in pieces or do you loose it all at once?