Pregnant

Can I be pregnant if my boyfriend didn't cum inside me and we didn't use as condom also I'm on the pill