This is a pericoronitis (gum swelling and closed the last tooth) or cheek biting due to angulated last tooth,you should visit dentist and take radiograph.
If there is pericoronitis,dentist will do operculectomy or extraction of last tooth
If there is cheek biting due to angulated molar,
A dentist will do extraction.
Next Steps
you should visit dentist and take radiograph
Health Tips
gargle the mouth by warm saline rinses,brush two times a day(by modified bass technique) 2 to 3 mins only,don't take self medication