Spotting end up pregnant?

Kristen • 👶🏻 💙

I've been spotting for about 5 days now off and on. Could I still get a positive test if I'm spotting?? Been having unprotected sex for weeks now.