Using ice is best for injuries or pain that is less than 24 hours old, or any injury that continues to produce swelling. Ice helps reduce pain and closes small blood vessels. This limits the amount of swelling that occurs immediately after the injury. It also helps calm the nerves, which decreases pain. But the Ice or cold packs should not be put directly on the skin due to the risk of frostbite.