Some of the most common reasons doggos poop or pee inside after walking include medical issues, substrate preferences, and poor potty-training at the outset. Go easy on your dog. House-trained dogs commonly have accidents due to stress, a change in environment, or illness.