There are a couple of ways to treat medial knee pain, depending on how severe it is. The first port of call rests the knee, especially if sports cause an injury like running or trauma. You can use an ice pack and put this on the affected area of the knee three to four times daily for about 20 minutes at a time. This can help reduce inflammation, and so will taking anti-inflammatory medication and ointments.
Home remedies are great as the first port of call. However, if the pain persists, make sure to see a doctor and get examined. Some treatments a doctor may recommend include draining fluid buildup that is causing pressure or recommending that you wear a knee brace.
In severe cases, you may have to undergo surgery.