It depends on the situation. Faxes are best for sending physical documents, while emails are better for digital files.
If you need to send a document that exists in both formats, you can usually just attach the file to an email and send it that way.