It is a good thing that your dog is still eating, drinking, and has normal amounts of energy. However there is nothing you can do to stop the diarrhea at home. This could be from dietary indiscretion, intestinal parasites, bacterial overgrowth, food change, or stress. Your dog needs to be examined by a veterinarian, have a fecal sample tested for intestinal parasites and bacterial overgrowth. Then appropriate medication can be started.
Start feeding a bland diet (boiled chicken, boiled rice), canned pumpkin, and plain yogurt for 3-4 days to help settle the stomach. With diarrhea this bad the bland diet alone will not resolve it.
Start feeding a bland diet (boiled chicken, boiled rice), canned pumpkin, and plain yogurt for 3-4 days to help settle the stomach. With diarrhea this bad the bland diet alone will not resolve it.