Help!!!!

So i have my period coming up in 11 days but I have some of those six days sooner pregnancy tests and I’m wondering if I can go ahead and take one now or should I actually wait for the 6 days before my period?