Extreme heat or cold temperature helps with inflammation. So, you can use ice and heat to treat your knee depending on the type of knee pain you are experiencing. The heat helps improve lubrication and relax muscles, reducing stiffness. Use a warm pad or hot water bottle and place it on your knee. If your knee is inflamed, use cold compressions. Wrap ice cubes in a cloth or plastic bag and place it on the knee.