Complex sentence: Helga is neglected and ignored by their parents and when they do giver her any attention, they compare her to Olga.
Split into simpler sentences: Helga is neglected and ignored by their parents. However, when they do give her any attention, they compare her to Olga.