3rd miscarriage in a row

Nic
Am really struggling. Am currently going through my 3rd miscarriage in 10 months....first at at 8wks, then an awful time at 10wks,  and now 8wks again. 
Have no idea what is going on and don't know how to deal with it. Waiting now for D&C next week. But feel like I'm losing my mind.
Am going to give up with trying to make a baby now for a while. Seem to get pregnant ok but can't carry them past first trimester.
Anybody else been through similar? Good luck to all
Xxxx