As per my knowledge, if we get any injury provided it is not a break, we should apply ice pack first.
In most injuries our body react with inflammation and swelling. Initially, ice pack is used to cool down the injured tissue and reduce swelling.
Heat pack treatment should be used after 48 hours of injury. For example: Use heat for muscle pain or stiffness.