They would miss school that's it.
You could talk to the school and get class / home work.
Some schools would insist on enrolling the student again for long absences. Some are okay if we give a written statement and do not need to re enroll them again .