Your oral condition is known as pericoronitis which usually happens due to following reasons
1. If a third molar or wisdom tooth are in stage of eruption
2. If a wisdom tooth area doesn't have enough space in your mouth to erupt (impacted)
3. If wisdom tooth area is infected
4. If wisdom tooth eruption is causing cheek bite constantly followed by gum irritation
Next Steps
you need to visit an oral surgeon or Dentist who would advise you for radiograph and further removal if required after reviewing your radiograph
Health Tips
do you have radiating pain to ear region? any swelling?
pain disturbing your sleep is indicative of severe infection. please start an antibiotic course advised by your Dentist. for pain you can take Flexon twice daily post meal for temporary relief but your condition needs immediate attention by a dentist in person.
avoid any warm compress, hot and spicy food