Hello,
Welcome to ehealthforum and thanks for writing
According to the description provided by you pregnancy possibility does not arise. If you did not have unprotected sexual contact then pregnancy is ruled out and it requires a proper vaginal penetration for conception to occur.After the sperms are ejaculated they die off in air or when in contact with clothes.
Relax and avoid any unprotected sexual contact.
Take care!