What do you do with chickens when it's very cold or very hot?
There are cold hardy chickens. Typically chickens should not be given artificial hrat sources because of the fire hazard or a burn risk. It can also be worse for them to go from a warmish coop into a cold outside.
In the summer as long as they can be out of the sun and have good ventilation they do fine.