Umbilical cord around neck?

How can I prevent the cord from wrapping around my baby's neck while still on the inside? Is there something that causes this? I'm very scared…