Trying for a baby 😩

I had unprotected sex with my boyfriend and my period came on two weeks early, I recently had a miscarriage so could this early period be a sign of early pregnancy or a sign of a early miscarriage ?Â