False positive

Hi guys, I’m feeling a little down. I got a test like this but then got my period a week later. Can anyone explain to me how or why false positives happen sometimes?