Hello Sir
Greetings of the day. You need to get a x-ray done so that if the wisdom tooth is impacted the only solution is to get it removed. And for the pain in right side upper jaw there might be a cavity which needs filling or a RCT. Tablets will not solve your issue.
Next Steps
Do not delay the visit to the dentist. Warm saline gargles 2-3 times a day might give you temporary relief.
Health Tips
Visit www.drajwanis.com for any further information