The Safari web browser on your iPhone keeps a log of the web pages you visit. If you want to clear your search history, you can do so through Safari or your iPhone's Settings app.
How to Clear Your iPhone or iPad Search History (Call History and Website Data)
Here's how to delete your browsing history using the Safari app on your iOS device.
Open the Safari app and tap Bookmarks at the bottom (the icon that looks like an open book).
Tap History (clock icon).