I would simply correct (just a verbal 'knock it off' should suffice) then redirect to something appropriate, it's "rude" behaviour and shouldn't be tolerated.
Jasmine - Female Miniature Poodle - born Aug 15, 2010
Loker Delgado Von Stalworth - Male GSD - born Jan 26, 2012
Koda & Zazu - 5 year old male cats
Alex - Male Cocker Spaniel (rescue) - RIP Cuddlebug 2007-2010