Can you get pregnant while on the pill & your partner ejaculates inside you

I’ve been on the pill for 2 years & my partner & I want to have him finish in me. is there a chance I could get pregnant if I take the pill regularly, everyday?