Thanks for writing in.
There seems to be some form of active inflammation as evident by swelling,hot to touch and extremely painful knees. I would definitely advise you to visit an orthopedician and get an x-ray of the knees and a complete blood picture. The symptoms you mentioned are on both knees or only on the right knee? It could be due to a meniscus/ligament injury
or it could be due to an infection in the joint.Any history of associated fever?
In the meantime, I would advise you to take an over the counter pain relief medication like Brufen
after food.Please visit your doctor at the earliest.
Hope this helps.
Dr. Divya Kuttikrishnan