May be there is some problem with that filling/filling might has came out/there is any deep infection with that tooth...visit your dentist from where you have gt done that filling.
Next Steps
in between you can take pain killer ,but dont delay in visiting your dentist
Health Tips
warm saline rinses 2/3 times a day