Pill and cumming

Can I guy cum in you while on the pill and you still be safe?