Preg Test

I’m on my period but I suspect it’s Implantation bleeding, if I were to take a pregnancy test, would it show accurate results if I’m bleeding?