EBF & pump

I EBF & pump I’m almost 10 weeks post partum I haven’t got my period and there is a chance of pregnancy as we had a few mistakes. This morning I woke up to wiping something like a mucus plug out of me how do I know when to test with not getting a period.