After having a chemical or miscarriage question

What did you do differently to prevent it from happening again?