Anyone have a dog that won’t stop having diarrhea

What can I do to make my 2 year old German Shepherd stop ? She’s potty trained but pooping alllll over our new house. Diarrhea for 3 days. I’ve given her pumpkin and it’s not stopping