Mucus Plug Question

I’m 38 + 4 weeks and I’ve been losing pieces of MP for 4 days now. How long can you lose your mucus plug for and does this mean labor is coming soon?!?