Second miscarriage

I had my first miscarriage at the end on June 2014 and now I have just had a second miscarriage at the end of September 2014. My blood type is O negative and my husband is A positive and my doctor didn't tell me that I needed a shot ( rhogam shot) after the first miscarriage. This caused me to miscarry again, has anyone else experienced this?