Hi...
You might have this pain and sensitivity because of a carious tooth.
Medications will only give you temporary relief and do not self medicate as you don’t know which kind of infection it is.
Only a physical and radiological examination can help you in a proper diagnosis and treatment.
Next Steps
Consult a dentist online/offline
Health Tips
Do warm saline rinses twice a day