First you need to determine if the father of the baby is also a carrier of the disease as CF is a recessive disease.
Therefore both parents need to be carriers and even then there is only a 25% chance the baby is affected. Doing either cvs or amnio can determine if the fetus is affected by cf. If only one parent is a carrier. Screening post natal is recommended.