An emergency c-section has to be done immediately because your health or your baby's health is in danger. If there are medical reasons to schedule your c-section, talk to your provider about waiting until at least 39 weeks of pregnancy. This gives your baby the time she needs to grow and develop before birth.