How to reduce the freezing on my iphone 4s?

My iphone 4s is starting to freeze a lot. Its annoying. Someone told me to go to my settings and delete something about the web but i forgot where he said to go within the settings. If you know what he was trying to tell me, let me know. Or if you know anything about this problem.

By smashing it and getting an android.

Try deleting some of the apps you have that you don't like. Apps can bite off ALOT of memory usage. To check go to settings>general>usage

Just get rid of any old apps that you don't use

Go to your home page and double click your home button. There should be a line of apps that pop up below with crosses at the top of them, you should delete all of them as they are the history of all the apps you visited. This will make your iPhone hopefully faster!