Hello....
You’ll have to consult a dentist , the infection can be in the gums or just tooth or both of them.
Only an x-ray and clinical examination can help in the diagnosis.
Depending upon the diagnosis treatment can be decided if you need cleaning,curettage, filling or RCT.
Next Steps
Consult a dentist online/offline for more information
Health Tips
Maintain good oral hygiene and do warm saline rinses