Most of the time, domestic dogs will simply reject unhealthy puppies, pushing them away from the nest.
They may carry stillborn puppies away from the nest or "bury" them someplace in the house.
However, if instinct takes over and the puppies are young enough, the dam might kill and eat unhealthy puppies, as well.