Welcome to HCM.
I am suspecting bacterial infection as there is purulent discharge. I suggest you get in touch with your dentist
for a prescription of antibiotics and pain killers as soon as possible. These infections have to be treated soon as these infections spread to the brain faster than other infections. Salt water gargling will help to reduce the foul smell from the mouth.