School from old times that would hit kids stick if they talked back or out of turn if they had messy work they would hit them

What is your question?

what was the name of the school

That sounds like most schools before about the middle of the 20th century.

The type of school you are referring to is often associated with strict disciplinary practices and corporal punishment. These schools were prevalent in many countries in the past, but over time, educational systems have evolved, and such practices have been widely recognized as inappropriate and harmful.

If you would like more information about a specific historical period or country in which such schools existed, please provide more details so I can assist you further.