I just had my period but pregnant?

Miranda

I had my period three days ago but I just felt off and it only lasted 4 days which isn't Normal for me. I decided to randomly take a test and this is the result. I'm so confused! Pregnant but had a period?