Hello
By the understanding of your complaint, it appears to be wisdom tooth issue.
To prescribe any medicine, a dentist needs to evaluate clinically/ by taking x-rays.
Meanwhile, start with warm saline gargles (warm water + salt gargles).
Next Steps
Kindly visit a dentist, so that early diagnosis and prompt treatment can be provided.
Health Tips
Avoid taking over the counter medicines without proper diagnosis.