What happens to a child if his or her parent becomes mentally ill?

Depends. The staff dealing with the parent will generally include social workers & mental health nurses that are well aware of the needs of the extended family. Children of an impaired parent will be placed when possible with family members or may need temporary foster care. In my state the facility works with family services to identify & provide these services when needed.