Implantation?

I’m not supposed to get my period until this weekend. But last night and today I had light brown when I wiped? If so how early can I take the test