Trying to find out what's wrong with my Grandmother's Coral Cactus plant

She cut off the left side because it was diseased but it still spread to the other half. Plant has been seated on this window for about five years and is watered wheneved the soil is dry.