Thanks for asking the query,
Wisdom tooth is the last tooth to errupt in the oral cavity which is mostly malaligned, tilted and impacted in the jaw bone leading to pain.
The area surrounding this tooth is difficult to clean and leads to food accumulation , bacterial growth
leading to redness
, swelling and inflammation of the surrounding gums known as PERICORONITIS
I would suggest you to consult to an Oral and Maxillofacial Surgeon, get a checkup done.
Take an OPG radiograph of the tooth, this tooth does not have any significant role in mastication and occlusion, so better to get it extracted if it is causing any trouble.
Take a course of antibiotics and analgesics.
At home maintain a good oral hygiene
, do not irritate the tissue again with your hands.
Take lukewarm saline gargles 3-4 times to give a soothing effect, use antiseptic mouthwash gargles.
Hope this helps out.