When should I take a pregnancy test?

It says my period is due in 8 days x