you could try the following methods
Rice water: Boil high-quality rice in a lot of water, remove the grains, and offer the dog the creamy white soup that's left. ...
Canned pumpkin (plain, not prepared pie filling) has the odd distinction of being effective for diarrhea and constipation.
Or you could try feeding it
cottage cheese, skinless, boiled chicken, and boiled, peeled potatoes.