There might be 2 possibilities to this situation either he has got a decayed tooth or else he must be having a tooth erupting.
Next Steps
Consult a nearby dentist or a pedodontist ( A dentist who specialises in treating children)
Health Tips
Do not try home remedies if u don't wanna exaggerate the condition better visit a clinic and get it treated.