From your post, I can't figure out exactly what happened, so I'm going to send you over to our Pregnancy Risk Assessment Flow Charts so you can see the risks for yourself.
In a nutshell, if there was direct genital contact of any sort, or if any ejaculate or pre-ejaculate came into contact with her vulva, then you have a pregnancy risk, and you might want to consider Emergency Contraception . If neither of those things happened, then you have no pregnancy risk, although you do have a substantial STD/STI risk, as lack of previous partners does not guarantee lack of diseases or bacteria.
Additionally, all forms of sex can carry pregnancy and/or STD risks -- and by sex, we mean manual sex, oral sex, and dry sex, not just penis-in-vagina intercourse. So regardless of when or where, if you're going to engage in ANY sort of sex, you'd do well to make sure you know the risks involved and take the appropriate precautions. If you have a look around this site, you'll find a wealth of information on how to do that.
Do not meddle in the affairs of dragons, for you are crunchy and go well with ketchup.