Immediately after a sprain or strain, applying an ice pack can help reduce inflammation and numb the pain. You should avoid heat in the first 48-72 hours following injury as it may increase swelling. After the inflammation subsides, gentle heat application can help ease stiffness.