As suggested above, find out why she is having the problem. If its just constipation, try giving her raw/ boiled egg, once or twice a day.This can be given along with regular dog food. Avoid anything spicy, even salt/ pepper can be very dangerous to young pups. no garlic, onion, sugar, too.
that usually helps my dog get over problem of passing stools.
If you think your dog is having constipation/ acid reflux(where dogs make vomiting sounds but do not vomit anything)
then try cooling her stomach with a little yogurt/ plain vanilla ice cream./ milk. anything cold that soothes their burning sensation.
The above tips are from my own experiences, not medical opinions.