Spotting 7 dpo. .

I've been having cramps on one side for the past 3 weeks... this morning I started spotting. . Af is not due for another 6 days.... how long should I wait to take a test...? Can I take one , would it come out correct?