When is the usage of family written as families?

When is the usage of family written as families?

My family is near the school
My families are happy