Ttc not sure when to take test

lo

8 days before my period, yet I have major cramping and vomiting . Should I take a test ?