What should I do if the dog leaves the person?

By huanggs
What should I do as soon as the dog leaves people, I ca n’t accompany it every day, just lie on their legs and do n’t make troubles elsewhere. As soon as people leave, they start to hum.