Complex sentence: If that happens, it is held that someone must go to her house and wash her, whereupon she lets the animals go again.
Split into simpler sentences: If that happens somebody has to go to her house and wash her. Then she lets the animals go again.