Mucus plug?

I've tried looking this up, but can't find anything lol

Do you always lose your mucus plug before going into labor? Or can you go into labor without losing it?

First time mom here so I'm unsure lol