Hello,
This spotting can be due to implantation bleeding and hence pregnancy should be ruled out if there is a history of any unprotected intercourse. If you are doubtful regarding the status of your pregnancy, you can go in for blood pregnancy test which measures the amount of hCG in your blood. Transvaginal ultrasound at as early as 5-6 wks of pregnancy can also confirm pregnancy.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
you would need to takle a test but if u had unportected sex assume as if u r until u find out otherwise to make sure u n baby are healthy til u know for sure