What methods did Stalin use to create a totalitarian state?

What methods did Stalin use to create a totalitarian state?