This may be associated with joint inflammatory disorder like Rheumatoid Arthritis. You should get some investigations done to get to a proper diagnosis.
Next Steps
You can start with hot fomentation, take analgesic with anti inflammatory tablet for now, avoid heavy work, start with active finger movements exercises.. Get blood investigation- Rheumatoid profile.
Health Tips
Avoid heavy work, avoid sitting down, avoid Indian toilet..