Upload the autoptimize folder to to the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
Go to Settings -> Autoptimize and enable the options you want. Generally this means "Optimize HTML/CSS/JavaScript", but if you experience problems you might want to disable some.