Dear practo user
According to the symptoms you presented, it mostly looks you are talking about third molar. Usually, impaction if 3rd molar causes pericoronitis and pain. Best to get the tooth removed.
Next Steps
consult an oral and maxillofacial surgeon
Health Tips
use Betadine gargle mixed in warm saline water rinse for at least one minute five times a day
apply hexigel over the affected area five times a day
Take painkillers when there is pain