Taking a pregnancy test

Nicole
I am 6 days from starting my period, and 8 dpo l, can a pregnancy test even detect it at that time?