Female dogs produce milk when nursing puppies. After weaning, excess milk is naturally reabsorbed by the body over several weeks. During this time, the dog may experience discomfort and swelling in the mammary glands. If discomfort is severe, a veterinarian may recommend treatment to reduce milk production and relieve symptoms.