From your description, it seems to be inflammation of gum tissue flap (pericoronitis) over partially erupted wisdom tooth. If the pain and inflammation are severe, it may be necessary to remove the gum flap (operculectomy) or wisdom tooth (extraction). It may be recommended to extract both your upper and lower wisdom teeth to prevent your upper tooth from biting your gum. However, definite treatment will depend on clinical and radiographic (x-ray) examination.
Next Steps
Visit the dentist for definite clinical evaluation and treatment.
Health Tips
Maintain good oral hygiene, including brushing and flossing. Do warm salt-water rinses.