Below I have attached a couple articles that will help in troubleshooting your iPhone 4s. The first article covers basic iPhone Hardware Troubleshooting. See the section on buttons and switches. The second article, covers troubleshooting the touchscreen.
If the above mentioned articles do not help, then you might have to contact us for service at Contact Apple Support.