There is one worm or parasite that is known to infect humans that you can get from a dog and it's called the roundworm.
So if your dog has roundworm be very careful and get your dog treated asap for the roundworm and remember roundworm can be passed onto and infect humans.