hello sir, according to the concerned x-ray i saw the wisdom tooth is impacted and it is causing the pain and swelling because it cannot grow out anymore so i would suggest you to extract or take it out as soon as possible or you can also start the course of medications for 5 days so the pain and swelling can subside for some days.
Next Steps
either start the medication or go for the extraction.
Health Tips
better to keep that area clean, gargle with warm saline/ betadine mouthwash