If you have acute pain, it’s best to apply ice first. If you suffer from chronic sore muscles, heat can be used for comfort. After the acute stage of pain and inflammation (usually limited to the first 72 hours following an injury), alternate heat and cold, .i.e 5 min hot/5 min cold/5min hot. But try each suggestion and see which provides the best and longest lasting relief from soreness.