After the initial cold treatment following the injury (around 10 to 20 minutes), you can switch to the heat treatment. It's hard to say exactly how many times you should alternate, or how long you should have in between heat and cold treatments.