How did the totalitarian leaders control their country and their people?

They did not tell the people anything because they had to keep them from knowing what is going on.