miscarriage

This is my second miscarriage in this year.need to know I don't know what's wrong with me.what kind of tests should I go for??its was my 6th week of pragnency