When your dog has fleas, in addition to treating the dog, you must also treat your yard, house, and possibly car, if he's been in it. Anywhere the dog has been or goes needs to be treated, or else, you may kill the fleas on the dog, but then the dog will just get them again from the environment. If you only treat the animals, you will never get rid of all the fleas.