Thanks for asking the query,
According to your clinical symptoms i suppose that the pain can be due to infection in the tooth or can be due to errupting wisdom tooth.
I would suggest you to visit to the Dentist
and get the thorough clinical examination done, look for impacted or errupting wisdom tooth, take an OPG radiograph.
Continue with the medication given by the Dentist.
At home take lukewarm saline and antispetic mouthwash rinses.
Hope this helps out,