Your doctor may swab your cervical area to test for substances that may help predict your risk for preterm labor.