2 miscarriages in a row

I miscarried over a year ago and then again this week. Is it likely something is wrong with me