pregnancy???

Hi guys so on Friday night I had sex and got my period on Wednesday, I am on the pill and I missed Thursday's one but took it with my Friday one, a there still a chance of pregnancy even though I got my period 4-5 days after I had sex?? 
Thanks in advance