Get them in a cool room with a fan, perhaps give them some frozen veg to help cool them down as they eat (peas/carrot/sweetcorn). Make sure they have access to water and if they are dehydrated as Leigh has already said you can give them dioralyte mixed as recommended for the youngest children. They should recover fairly quickly.