Although both heat and cold are beneficial to ease knee pain, sometimes, one is preferred over the other.
An ice pack can help decrease blood flow, relieving pain and inflammation. It is most effective when used for the first 24 hours after the beginning of knee pain.
If there is no swelling, you can use a heating pad the first time you experience knee pain. Using heat helps increase blood flow. It loosens tight muscles and joints, relieving muscle spasms and pain.