To firm up your dog's stool, try switching to a high-quality, low-fat dog food that lists meat as the main ingredient. Also, if your dog currently eats wet food, gradually replace the wet food with dry food until your dog is only eating dry food, which can help make its stools firmer.
More useful articles on a similar topic 👇
How do you stop diarrhea in puppies naturally?Why is my 6 week old puppy pooping so much?