If you are not currently using an .htaccess file there is one provided for you. It should be called htaccess.default. Rename this file to .htaccess (with a period in front) and add the code above. Make sure you read through the entire .htaccess file and follow the directions.
AddEncoding gzip .gz