Not sure if I’m pregnant or had a miscarriage

I finished my period two weeks ago from today and last Friday my boyfriend and I had unprotected sex. I started the fertile cycle the day after and didn’t have plan b til 15 hrs after sex. Now I’m spotting and cramping… what does this mean?