Go to Settings > Safari > Clear History and Website Data. Confirm you want to Clear History and Data. The button turns gray after you clear the data. Clear History and Website Data from Safari in the Settings app on your iPhone or iPad.