How soon can I take a test?

Alicia
AF is suppose to visit on Thursday. I had spotting yesterday (bright red/brown in color) and I'm feeling crampy today. I took a test Friday and it came out negative. Should I wait until Thursday to see if my period comes or should I try now? How soon can I take a test and get a positive if I'm pregnant?