Period??

I haven’t been on the pill for 3 weeks and I haven’t get my period I had unprotected sex and I took a pregnancy test but it was negative just confused as to why i haven’t got my period yet