By staying in caves and dens that are shady
They protect themselves by their thick, moist skin.
Rattlesnakes are not mean. Rattlesnakes are simply being rattlesnakes. They are near the bottom of the food chain and fear almost everything bigger than themselves. They defend themselves when necessary by striking out and biting. If left alone, they do not do so.
rattle snakes coil and emit the hiss sound of its rattle. When they coil that is the position were they can do the jump to attack and bite injecting the venom.
Rattlesnakes have several methods to protect themselves. First and foremost, if they can hide or flee from danger they will do so. Sometimes this is not an option, so they will try to scare away the danger by weaving back and forth threateningly while rapidly shaking their tail rattle. If this does not work they will attack with their venomously fangs.
Rattlesnakes, like most snakes, are only active if they are hungry and looking for prey. Rattlesnakes do not see humans as prey, however. If not hungry, they will curl up and avoid contact with others.
Red Diamondback rattlesnakes, like all rattlesnakes, are equipped with fangs and venom and will use them if threatened .
They attack by biting you with poisonous fangs
Anasazi
People wear special suits made of heat-resistant materials, such as aluminum, to protect themselves when touching lava. These suits are designed to withstand extreme temperatures and provide insulation from the intense heat. Additionally, workers wear heavy-duty gloves and boots to further protect themselves from the lava's heat.
They protect themselves by squirting ink.
A snake can good smell and detectors for heat.
Citizens protect themselves with police departments. Nations protect themselves with a military.