Tell her how proud you are of her when she's polite to you and others, and reward her behavior with time together, a treat, or even a hug. (verywellfamily.com)
You can teach your cat a variety of fun behaviors but you can also use it for behavior modification by rewarding behaviors (however subtle) you want to see again. (catbehaviorassociates.com)
Do not reward his behavior by acting in the way your dog wants. (dog-health-guide.org)