The cervix generally doesn't close fully for around six weeks, so up until that point, there's the risk of introducing bacteria into the uterus and ending up with an infection, Pari Ghodsi, M.D., a board-certified ob/gyn based in Los Angeles, tells SELF.