pregnant

i’m supposed to get my period today and i just been spotting for the pass two days and i have been discharge brown and pinkish and i don’t know if i should worry because not that long ago i had unprotected sex ??