Hello,
Welcome to ehealthforum
Spotting could be due to various reasons as hormonal imbalance,pregnancy,implantation bleeding,pelvic disease,stress,endometritis etc.
Since you had unprotected intercourse and you are off the pills then chances of pregnancy are there.
Get a Blood HCG test done to rule out pregnancy.Kindly visit a Gynaecologist for examination.
Take Care!