Humans can get these worms but I think it is fairly rare. Your dog gets them by ingesting fleas that are infected, so if you accidently ingest a flea there is a small chance you could end up with them. That being said an obvious step that you need to take to get rid of this problem and prevent it happening again in the future is to keep your dog on a good flea control program.