Other risk factors for rickets are:  Being exclusively breastfed. Breast milk doesn't have enough vitamin D to prevent rickets. Pediatricians recommend vitamin D drops for babies that are breastfed. Taking anti-seizure medications. Some types of anti-seizure drugs prevent the body from using vitamin D normally. Being born prematurely, or before 37 weeks of pregnancy.