Hello
As per your query. .. it could be the wisdom teeth that is troubling you .. so u can take an xray or radiograph ,through which we can assess the presence and severity of the infection and go ahead with fillings or root canal treatment accordingly. One suggestion is if its your wisdom tooth ,u can get it removed if there is infection .Anaesthesia would be given while extraction .. post treatment medications would be given . Hopefully u should have a speedy recovery.
Next Steps
Please do contact your near by doctor ASAP