You're fine, trust me, you just ingested the eggs via dirt under your fingernails or something. I got those a few times when I was a grimy little kid, the doctor just gives you and your family some pills, because you can spread them, and the worms die and come out in your feces. Just wash your hands well if you yourself there, I know they're irritating.
P.S. You guys give awful advice on matters like this, look it up before you reply, you probably scared the hell out of her.