It might be because of traumatic cheek bite or third molar or wisdom tooth problem. As your clinical picture is not that much sufficient to tell you the diagnosis. As you are saying, pus is there then it might be wisdom tooth improper position so you need to do warm water along with salt mixed gargles 4 to 5 times in a day, it will relieve your problem. Consume vit b supplements or tablets two times in a day for 7 days and in picture ..it is seen that there is traumatic cheek bite in the region of third molar or wisdom tooth. Apply Rexidine m forte gel there, for 3 to 4 times in a day. And if you are saying pus is there, Take a antibiotic course.
Next Steps
Rx,
Tab Augmentin 375 mg BD for 3 days .ntotal 6 tablets
Tab Zerodol SP BD ..total 6 tablets and if you are having history of acidity.
then only take Tab Pan 40 3 tablets OD before meal once in the morning.