Second miscarrige in three months

Mariam
I had a miscarriage last night. I was 8 weeks .I am so upset because I had another miscarriage at August. Has anyone had two miscarriage and then had a success pregnancy healthy baby .and what was your causes of miscarriage . My appointment after a week.