Can you get worms from a dog?

Yes. Some infections that can be transmitted from dogs to humans include roundworms, hookworms, tapeworms & whipworms.