The most common cause for such an early miscarriage
is a chromosomal anomaly. Other causes could be hormonal defects, improper implantation
in the uterine wall and trauma. You may ask your doctor for a genetic assessment of both of you. You can see if either of you has an abnormal karyotype and can get the needed counselling
. You may prevent similar occurrences in future by regular exercise, proper diet, proper weight, avoiding smoking, managing stress and taking folic acid
regularly. Please consult your gynecologist for further management. Good luck.