Complex sentence: A person with chickenpox is infectious one to two days before the rash appears, and remains contagious until all lesions have crusted over (this takes approximately six days).
Split into simpler sentences: A person with chickenpox is infectious one to two days before the rash appears. They remain contagious until all lesions have crusted over (this takes approximately six days).