Confused between Heat or Cold Therapy?

Confused between Heat or Cold Therapy?

I still remember, when I tried to ride my bike first time without training wheels, I fell with big bruise and swelling around my knee; and my mom applied ice from refrigerator to heal the pain.  Just like that when my grandma was having her backpain she used to apply...