is there a possibility of pregnancy if it didn't go in?

I'm late. We didn't have sex, I'm a virgin, I haven't done anything before so apologies in advance if this is a stupid question. He just rubbed his dick on my vag and clit.