False positives?

Mel

I tested 5 days before missed period, negative. Then tested again today (expected period day) and I got a positive! Yay! BUT I’m afraid to get my hopes up :( I’m going to wait a couple days to test again but I’m just curious if anyone’s had “false positives” and why that happens?