Sometimes dogs are alergic to fleas or the toxins fleas give them when they bite and the dog gets "pimples" which they scratch.
Advantage gets rid of fleas
http://advantage.petparents.com/aboutAdvantage.cfm
I'm not a vet, but quite good at looking after pets.