Can I get pregnant

Emily

My boyfriend and I were messing around and he came on my inner thigh and some touched my vagina. (I’m on the pill) and I’m wondering if I could get pregnant like this, I’m 17 and not ready for a kid. Help