Dumb question?

Lynzee • 25, military wife. Mommy to a toddler and expecting a new addition in July 2016!
This might be a dumb question, but can I go swimming if I'm 3cm dilated and I've lost my mucus plug? It seems like risk of infection might be higher?