When to take a TEST!!?

xxress

So I’ve had sex in the past. And tonight . I peed and seen a few spots of blood, could I be pregnant? When should I take a test. I was waiting for my period to come.