For dental infections, a cold compress is usually more effective. It helps reduce inflammation and numbs the area, relieving pain and fever. It is recommended to place cold packs 3 times a day, no more than 10 minutes each time; it should never be in direct contact with the skin. Heat can exacerbate inflammation, so cold is usually the preferred option.