Medicines bought over the counter such as paracetamol (eg Calpol) can be given to the school to issue when needed. Despite what some schools say, these do not need a prescription from the doctor.
For those in nursery or infant school ages up to 5yr this is covered in theĀ Statutory Framework for the early years foundation stage.