Give your dog a signal, such as hand signal or light signal or use a vibrating collar and then take them over to their mat or crate. Once at their spot, provide a treat, toy, or chew toy, such as a rawhide bone to reward them for not barking, and provide an alternative activity to barking such as a puzzle feeder.