How many days before you missed period can u test

I am six days before my period is suppose to start. When should i take a hpt. I have bern feeling a little nauseas and have had lite cramping on and off today. ... is aunt flow knocking or could I be prego??