Had virtual sex ie with our undergarments on and I

Patient: Had virtual sex i.e. with our undergarments on and I ejaculated and the sperms got in contact with her undergarment. Is it safe? Or does she need to take an ipill?

Doctor: