A man was walking his dog and the dog went to the toilet when other dogs barked.