There are so many ways by which you can protect and reduce the level of knee pain you experience during and after hiking. Naturally, when you stand up, the upper part of your body rests on your knees, which are why you are more likely to experience this pain even while standing. The fact that you are going to have so many of you while hiking means your weight might be three to five times your actual body, plus the fact that you will be walking, at times uphill, and even downhill.
Because of this reason, you must balance your weight and don't get yourself too loaded with things that will add to your weight unnecessarily. Second, get the right type of hiking boots. When you start feeling discomfort while hiking due to the kind of hiking boots you wear, that alone can add to the level of pain you feel. Also, add to your diet various lubricating foods that will your knees in good condition.