It's due to Impacted 3rd molars. You can consult with your nearby dentist as soon as possible for proper diagnosis and treatment. Medication can't provide you permanent relief from your problem.
Next Steps
1.Book an appointment with your nearby dentist
and get the extraction done.
Health Tips
1.Lukewarm saline water rinse.
2.Do not dealy your treatment.