Most people do not restrict their dogs from accessing to all part of their home. At the same time they should care about their pets' cleanliness. Generally some dogs have the habit of eating their own poop or others', which is to be stopped right away. A few owners punish them for their such act but they cannot leave it. At first you have to know the reasons for which the dog is consuming the faeces. After then you have to devise a plan which would stop its weird practice.