can you get pregnant on the pill if he pulls out?
So to answer your question, if you're on the pill, you're protected from pregnancy, even if semen gets in your vagina. (And just so you know, the chance of getting pregnant from pre-cum is really, really small — pre-cum often doesn't even contain sperm.)