Your searches and browsing activity are saved in your Web & App Activity when it's turned on and you're signed in to your Google Account. You're in control of what's saved, and you can delete it or turn the setting off whenever you like.
You my wonder how can you delete the history?