It is important to engage with the dog regularly, not to encourage for no reason, to establish clear boundaries of what is permitted. Then the pet will become obedient.