For what length of time do I have to wait to get pregnant after having a c-section?

1 year. After your child's first birthday is the earliest i would recommend trying to conceive again. Earlier attempts and pregnancies are at increased risk for adverse outcomes (preterm labor, uterine rupture, anemia etc).