Odd bleeding ?

So I had protected sex 2 days ago and my period is supposed to start in 12 days . I also just started the pill yesterday. Yesterday I got some blood on my underwear . I don’t think it has anything to do with the pill yet what could this mean?