There are different ways to go about this. If you have existing files and you want to encrypt them, you could use
gpg. However, some people use encrypted file systems so that the file is never on the disc in an unencrypted form. It just depends on your requirements.