Investigations after MC

Hi ladies. I have now had 3 miscarriages in a row. What is the next steps. I am being referred to a gynaecologist. But what do they do?