Miscarrying .. ?

Ok so I have had 2 miscarriages and I am only 2yo. It’s like a have no issues conceiving but then loose the baby before the first prenatal visit . What could be the issue ? I’ve been to the dr but they didn’t do any test or anything and said just to get checked out before trying again .. what could be the issue ??