###Human: After going gym, I started to have pain in the knee. How to fix it? ###Assistant: Hi. It is common to have pain when you start an exercise programme after a gap. You can try icing the sore parts after doing exercise as well as do gentle stretches in leg muscles. If you are sore, take NSAIDs (Nonsteroidal anti-inflammatory drugs) for a few days and then start again. Knee pain may occur due to chondromalacia patellae, and this may need more attention especially if the pain does not settle after a course of an NSAID.