Period or miscarriage?

Ashley

I was 5 weeks and 2 days when I started spotting. The following days I started bleeding like an actual period. Which is around the time I would normally get my period. Tested again and it said I’m not pregnant. And my cramps are pretty bad... So I’m not 100% sure if I’m still going through my miscarry or if it’s my period? How can I tell the difference this early on?... Is anyone else going through an early miscarriage? How long does it last??