As your description ,It may be a case of osteoarthritis with effusion in the joint.
It can't be managed by painkiller. You need combination treatment of Ultra sound & IFT for 21 sitting. You may apply Ice pack once a day . only static quadriceps exercise can be done after reduction of pain.
Next Steps
you may consult to a qualified physio for above mentioned treatment.
Health Tips
Avoid prolong standing, stair climbing