help!!

Allysa
i am on the pill and I just started it 3 weeks ago and ive been spotting a lot lately and this morning there was this huge lump of discharge. It was mixed with blood but itwas  white-ish but very thick, I did have sex last week unprotected but that discharge is just because of the pill right??