Rings are often made of materials that can withstand high temperatures, such as metals and certain gemstones. However, there is a limit to how hot a ring can get before it will start to show signs of damage.
For example, gold is a metal that can withstand high temperatures without melting or deforming. However, if you were to expose a gold ring to extremely high temperatures (such as those found in a forge), the metal would start to change color and become discolored. Likewise, certain gemstones such as diamonds are also able to withstand high temperatures without being damaged. However, other gemstones such as opals are much more sensitive to heat and can easily crack or shatter if exposed to too much heat.
In general, it is best to avoid exposing your rings to extremely high temperatures as this can cause irreversible damage. If you must work with hot materials or be in an environment where there are high temperatures, it is advisable to remove your rings beforehand to prevent any accidental damage.