Consult Dentist to figure out the exact cause. Pain doesn't always occur due to cavity, Their might be chance that infection present in the root of your teeth or cavity may be present between two teeth.
Next Steps
visit dentist, X-ray is required to see the cause of pain
Health Tips
Avoid warm water gargle without doctors consultation.