My iPhone is having many problems, it keeps freezing and touching the wrong keys

My iPhone is freezing every second when I'm using it. Like the keyboard keys freeze when I'm typing. Always sometimes when I click an icon on my home screen it likes the button next to it! Anyone know any solutions without getting a new one! I have also tried powering it off and on didn't work!

Sounds like your software is acting up, and you should try a restore in itunes to correct your software issue!
Create a backup of your data first, then restore your phone, and you shouldn't notice any more freezing with your software.

In case you aren't sure how…
Plug your iPhone into your computer, pull up itunes.
Right click on your iPhone (bob's iphone, etc) in the left hand column, choose "back up". Give it time.
When that is done, then right click on the iphone, choose restore from back up. Choose the recent backup with today's date. And then give it time.

If you run into a restore error from your computer, call 1800MYAPPLE, for Apple's Tech Support, and don't worry, they are all American! Restore errors occur for multiple reasons, the basic one is antivirus software blocking the iTunes program from accessing the download files to replace your software.