Prevention Possibilities

Has anyone known of anyone successful at full-term pregnancy after multiple chemical pregnancies/miscarriage? Also, is there anything that can be done on preventing chemical pregnancy/miscarriage?