mucus plug at 17 weeks

Kasia
I'm 17 weeks pregnant and I think my mucus plug is coming out can anyone tell me if it means my baby is in danger or will everything be okay? I'm really worried !