Freaking out about roundworms

Me

So my puppy who was dewormed already jut thrown up a long roundworm (2 of them, they looked like spagetthi). Anyways i am freaking out about the possibility of having it. We have 3 kids and I am so nervous about being infected. Has anyone’s dog had roundworms and they were fine? The internet can be so scary and I don’t know what to believe