aka. take a leave.
In Germany every employee is entitled to leave of absence if their child is ill - up to a maximum of ten working days per child in the calendar year. Many children are sick more than that.
A doctor’s note from the first day is required. Employees typically receive their full income the first few days taken off, but it varies.