Advice from NHS
When your child is unwell, it can be hard deciding whether to keep them off school. A few simple guidelines can help. Not every illness needs to keep your child from school. If you keep your child away from school, be sure to inform the school on the first day of their absence.
Vomiting and diarrhoea. Children with these conditions should be kept off school. They can return 48 hours after their symptoms disappear. Most cases of vomiting or diarrhoea get better without treatment, but if symptoms persist, consult your GP.
Read more here