Painted masks and costumes are used to scare away the dead at the end of the celebrations.