Can I be pregnant ?

Hi ladies!

I was on the pill for 5 days and me and my boyfriend had sex and he cum inside , is there a possibility of being pregnant or would the pill still work?