Help need advice

Tonie

I have been out of the ttc of while because of a few health issue's. Now that i can try to get pregnant again. My period is late and i had some spotting over the last weekend and it was brown. When should i take a pregnancy test