There is a possibility of chronic inflammatory disorder of joints, possibly Rheumatoid Arthritis.. You need to get some investigations like CBC, ESR,
CRP, RA factor, S. Uric acid..
Next Steps
You can start with hot fomentation, analgesic like etoricoxib, along with rabeprazole for now.. If it is confirmed RA, then treatment will be planned accordingly..
Health Tips
You can also start joint movement exercises..