Complex sentence: Prevention is by mass deworming programmes, treating entire groups in which the disease exists, every year for about six years, in an effort to rid the disease in that group.
Split into simpler sentences: Prevention is by treating entire groups in which the disease exists, known as mass deworming. This is done every year for about six years, in an effort to rid the disease in that group.