normally it happens due to any kind of allergy or even due to gastritis. but to evaluate that you need to visit the concerned medical professional to evaluate it clinically.
Next Steps
visit the dentist/ENT doctor and evaluate the problem
Health Tips
better to keep that area clean, gargle with warm saline/ betadine mouthwash