When is a good time to test

Maria

I am currently 5 days late but I had spotting yesterday and today should I test or wait what can it be