Automatically delete history

Is there a way for me to set up my settings so it automatically always deletes my browser history?