Brown spotting before period

Melaine

So i had unprotected sex with my boyfriend and periods a day late instead i got on and off brown spotting ...is it sign of period or pregnancy?