When to test?

Lauren

So my period is due this Friday (6/21). I had some brown spotting for around 2-3 days about a week ago. Not sure if it could be implantation bleeding or completely unrelated. Have had terrible headaches the past two days. When would be the best time to take a pregnancy test? Is taking one Friday too soon?