IMPLATATION BLEEDING???!!!!!

Courtney
I woke up today yesterday on July 18 and had brown discharge in my underwear my period isn't due until the July 25 I've been having spotting small amounts of brown discharge all day me and my husband have been trying to get pregnant but recently decided to take a break from tracking the best times to baby dance if it is implantation bleeding when is the earliest I can test?