Can you still get pregnant

Can you still get pregnant if you're on the pill and your significant other cums in you?