Pre term labor

Anyone have baby early because of infection? So next pregnancy had to have a cerclage and 17p shots and were able to carry to full term?