To reduce anxiety, consider keeping your dog in a quiet room away from the front door or using a white noise machine to mask the sounds of trick-or-treaters. Providing your dog with toys or treats can also help keep them occupied.