Could i get pregnant

Okay so I’m 14 i’ve been on the pill for at least three months. me and my boyfriend were like making out and i had no pants on neither did he a i attempted to put his dick inside me but it touched my vagina a little and he quickly pulled away and got up. his penis wasn’t wet or anything can i still get pregnant?