Add either of the two code snippets to your wp-config.php file.

Do Not Store Any Revisions

define( 'WP_POST_REVISIONS', false );

A Certain Amount of Revisions

define( 'WP_POST_REVISIONS', 5 );