How does a school lose accreditation?

How does a school lose accreditation?