You see a maternal-fetal-medicine specialist before you conceive.
(mfm). You sit down and discuss what caused previous preterm births - was it a problem with cervix
, was it infection, etc. Then together work up a plan to minimize risk. There are no guarantees, but you can decrease risk by seeing the right people before and planning ahead.