Giving a detailed explanation of your child's physical condition on the previous day, and asking that your child be excused from swimming classes, outdoor play, etc.
If your child has been feeling unwell up until the previous day, you may write a note informing the school that your child may take part in regular activities, but should avoid activities such as swimming, outdoor play, etc.