They will also give you specific exercises, based on your condition, to strengthen the muscles around the knee joint.[8] 4 Visit an orthopedist. Foot problems like flat feet and other conditions may contribute to knee pain and swelling. Visit a foot specialist and ask this person to assess...