There is something wrong with the food of your dog that has caused her such type of stools. The 5 month old puppy has very sensitive digestive system so you must take care of her diet and give her soft food that can be easily digested.
Is the food green? If not, I would suggest a quick visit to the vet if this goes on for more than 3 days. Good luck.