How did people write letters before the typewriter was invented?

They used pens and wrote by hand.