How can you protect your dog from the heat in the summer?

Should you shave your dog to protect it from the heat?