I think you are talking about subacute sclerosing panencephalitis (SSPE). This is a progressive brain disorder for which there is no cure that can develop after having measles. There is the risk of several types of encephalopathy during and after measles infection that can be treated.