Hello There.
I can understand your concern.
There has to be intercourse and atlas ejaculation of the semen inside the vagina so that the sperms can travel up and make
pregnant.
since you say it was just rubbing, that pretty much says that she isn't pregnant and her chances of being pregnant are slim.
But you can take a urine
pregnancy test at home and if it comes out to be positive, you can get it terminated as soon as you detect it.
Best regards,
Dr. Anil kumar jain.