Ice should be used in the acute stage of an injury (within the first 24-48 hours), or whenever there is swelling. Ice helps to reduce inflammation by decreasing blood flow to the area in which cold is applied.
Heat increases blood flow and may promote pain relief after swelling subsides. Heat may also be used to warm up muscles prior to exercise or physical therapy.