Pos reinforcement/lots of treats/maybe clicker training/ is focusing only on what you want them to do and rewarding the behavior you want. Ignore what you don't want.