To firm up a dog's stool, feed them a high-quality diet that contains enough meat and fiber, and avoid fatty foods or a high-fat diet. You can also increase a dog's fiber intake through homemade meals, addition of veggies or fruit, or giving them a fiber supplement.
More useful articles on a similar topic 👇
Is sweet potato heart healthy?What causes a dog's poop to be soft?