Tap the "Settings" application button with the silver gears icon on your iPhone's home screen.
Swipe to about half-way down the Settings screen. Tap the "Safari" tab to open the Safari settings screen.
Read the various settings options, which the iPhone groups into themed sections -- General, Privacy, Reading list and Security.
Tap each settings tab to open the settings for this section. For example, tap "Search Engine" in the General section and then tap to select your preferred default search engine from the list of available search engines.
Touch the "Safari" button in the top left of the screen to return to the main Safari settings screen.
Touch the "Accept Cookies" tab and then select "Always," "Never" or "From Visited" from the list to set your Safari cookie preferences.
Tap the "Clear History" tab, and then tap "Clear History" in the confirmation pop-up pane to clear your browsing history from Safari. Touch "Clear Cookies and Data" and then tap "Clear Cookies and Data" again to delete all cookies that could be used to track your Web usage on Safari.
Press the "Home" button below the display screen to exit the Safari settings menu and return to the iPhone's home screen. Tap the "Safari" app button to launch and use the Safari Web browser with the changed preferences.
Swipe to the bottom of the Safari settings screen and tap the "Advanced" tab to access advanced settings. This feature allows you to view stored website data and activate or deactivate the Web Inspector function for connecting Safari on your iPhone to Safari on your computer with a USB cable connection.