spotting???

Cat

I had unprotected sex on the pill so I thought I would be fine, but i’m spotting now. is this a sign of pregnancy or just a side effect of the pill??