Second Miscarriage

I wish I new why. Why does this happen. It has been 9 months apart. What am I doing wrong:-(