Two chemical miscarriage in 5.5 weeks

I had two miscarriages at 5.5 weeks, why is this happening and should I take any tests to see if something is wrong with me? Should I go see a doctor?