Heatpacks are used to instantly raise the player's body temperature to the standard 36 degrees. They can be found just about anywhere. Heatpacks are best used as a preventative measure to minimize the risk of an infection, which requires the much more rare Antibiotics to cure.
This page contains information about the mod version of DayZ. Standalone information is available here.