For example, heart failure makes breathing difficult, and the strain of eliminating feces can be too much for a dog, who then tries to avoid pooping. This would be considered a medical emergency, she said. If your dog has not pooped for a couple of days, he can be at risk of developing obstipation, or an inability to poop.