My iphone 4 is really messing up?

My iphone 4 is really messing up.
1- it turns off by it self to apple sign like its turning on
2- my apps constantly close by them selves
3- my safari google page is constantly refreshing it self i can't type nothing in it
4-te keys on my keyboard keep freezing for like 20seconds

What's wrong with it? Its up to date on its software

I heard that iOS 6 is having bugs/problems that's why i didn't update.

First off when the apps close, it is called crashing. Some things to avoid that from happening is to exit out of all apps by double clicking the home button, then holding down the apps that appear, and click the minus sign on all of them. You are not deleting these apps, you are simply closing them all the way so that they are not running in the background. Do this regularly after opening apps to minimize crashing. Another thing you can do is go to settings, safari clear history. If you want to keep your bookmarks, then don't click clear cookies. One more thing that you can do is hold down the home button for 10 seconds then while still holding it down hold down the sleep button for 10 seconds. When the apple sign comes up, it is doing that automatically. This is NOT resetting your iPhone, but giving it a red bull to function better. The freezing of the keys is unfortunately un fixable, I have the same problem. Clearing the history should help the freezing Safari as well. For any help, feel free to ask

  • Why is Wi-Fi on iPhone 4 messing up? Whenever I connect to my network it says connected at the top (Shows the bars) But whenever I go to safari and type in for example, "www.google.com" it'll do the loading symbol then stop loading up and just show a blank screen… Guys please please help me resolve this issue. (Iphone 4)
  • Why Is My New iPhone 5C Messing Up? My iPhone 5C is messing up! Siri randomly pops up, even while I'm on Vine or YouTube! Same with my music! It will randomly play, also it will change the song randomly! The volume also changes! This is scaring me! Lastly, it was at 6.8 GB then a few minutes I set it down, when I get back to it, it says 4.4 GB! Reminder, I set it down for a while, so I didn't add anything! About an hour later, it returns to 6.8 GB! I'm scared this is a new bug!
  • Why is my iPhone messing up my texts? I've just recently gotten an iPhone. When I text my friends, every few message they receive is either not the entire message or the message has been turned into all these weird symbols that I don't even have on my phone. However, my phone shows the text exactly how I wrote it. Is this happening to anyone else? How do I fix it? Btw, I have an iPhone 4S.
  • Why do playlists on my Iphone keep messing up? I have an Iphone 5, there are some playlists in which I try to rearrenge a song, and after I save the changes, the song moved to a different position. This appears to happen on AAC songs that I converted from itunes, I did this because Itunes suddenly stopped allowing me to change the name of artists or songs. Any idea of why this is happening? Is there effectively a relation between the AAC songs and the bugged/corrupted playlists?