A defect happens to a baby before birth during the pregnancy. In most cases, it is a genetic concern that would have occurred regardless of what happened during childbirth.