I don't understand?

I took a pregnancy test and it was positive. Then I started my period 2 days later, can anyone explain why? Why did I get a false positive? I took one again on my period just for the heck of it and it's negative. This period is super super light too.