While male dogs do not go into heat, when female dogs go into heat it can have a major impact on them.
When a female dog is in heat, she releases a pheromone called Methyl p-hydroxybenzoate that has shown to sexually arouse male dogs that pick up that scent. That's by design, of course — but it can stir up a lot of chaos for you and your canine companion. If an intact male dog catches the scent of a nearby female in heat, she will become his entire focus. Male dogs may stop eating, increase their marking, become increasingly aggressive and obsess over tracking down the female dog in heat throughout the duration of her cycle.
If you have an intact male dog who lives near an intact female dog, it's important to keep him as far from her as possible when she's in heat if you are not looking to breed with your dog. Be sure to take your male dog out for lots of independent exercise and activity and keep him distracted as best as you can. Certain pheromone sprays can also be helpful during these times, particularly if there's some distance between the two dogs to start. Be sure to speak to your veterinarian before using any of these sprays.