Can it happen?

If I took a pregnancy test and it came out positive, but then I started my period later that day....can your hormones from your period effect the outcome of the test? Can that happen?