Dogs who are lactating likely have puppies. If the puppies are not feeding, eventually the mother will stop lactating on her own. You will just need to wait and let nature take its course.
If mom is unable to feed the pups, they'll need to be bottle-fed until they're old enough to be weaned. Check with your Vet for appropriate formula, bottles, amounts, frequency, and duration of...