Whether the problem can be solved with a filling or it needs Root canal treatment or extraction..it depends upon the status of your tooth.
Next Steps
If it can be saved, treatment of wisdom teeth is very much possible and depends a lot on the dentist's experise.
Health Tips
Kindly keep doing warm saline rinses 3-4 times a day , that might give you some relief.