Pregnancy test while implantation bleeding

If I take a pregnancy test while I could potentially be implantation bleeding (or period, not sure) would it be accurate