hello and welcome to HCM forum,
i would be glad to answer your query,
In your case, the gum which is covering the wisdom tooth partially is slightly inflamed, this condition is called 'pericoronitis', it is nothing to worry about.
sometimes, food gets impacted in the gum tissue which forms a pocket around the tooth nd causes pain and swelling.
kindly perform warm saline rinses(3-4 times/day) ,it will relief pain and swelling.
It is important for you to see a dentist
, he/she might prescribe medicines to resolve infection if present.
i hope i answered your query,
i wish you good health,