You should visit a dentist for check up immediately. Don't carry the pain or blindly take the medicines. Pain might be due to a damaged & decayed tooth, erupting wisdom tooth, gum problem and many other reasons.
Next Steps
Visit a dentist and discuss your problem. If any doubt, take opinion from other dentist.
Health Tips
Avoid hot food and unnecessary medicines blindly