Rubella-associated autism can be prevented by vaccination against rubella before conceiving. Avoiding the seizure drug valproic acid which is considered a risk factor. Early diagnosis and treatment of a hereditary disease called phenylketonuria (PKA) and celiac disease may reduce the chances of the child having autism.