Hi Dear,
Welcome to HCM.
Understanding your concern. As per your query you have swollen and painful knee. Well there can be many reasons for symptoms you mention in query like Chondromalacia, Bursitis, gout ,
Arthritis,
Osteochondritis, Ton Meniscus , bakers cyst or infection . For now take proper rest , keep your leg elevated while laying down , take
ibuprofen or acetaminopehn for pain and lower your salt consumption. I would suggest you to consult an Orthopedician and get evaluated and a thorough clinical evaluation and investigations like x ray, CT Scan , blood tests and physical examination etc as per suspected cause can help in diagnosis and treatment can be planned accordingly.Doctor may prescribe anti-inflammatory painkillers, muscle relaxants, warm or cool compresses depending upon the cause,
physiotherapy to relieve and strengthen the muscles,
weight loss and doctor may also prescribe nerve supplement along with antibiotics in case of infection or surgical excision in case of cyst .
Hope your concern has been resolved.
Get Well Soon.
Best Wishes,
Dr. Harry Maheshwari