miscarriage

I want to know what causes miscarriage so that I could be extremely careful with my pregnacy. any tips ?