Preventing hypothermia involves maintaining a warm environment in delivery rooms, using radiant warmers, and ensuring immediate skin-to-skin contact with the mother. For treatment, healthcare providers may use incubators, warm blankets, and heated mattresses to gradually raise the newborn's body temperature. Frequent monitoring is essential during the warming process to avoid hyperthermia.