iPhone4s turned itself down then turned on by itself then turns off by itself again and again
A few ideas:


Try stopping all apps and then restarting your phone
Is this happening after you installed/updated a certain app? Try removing it
Backup your phone, reset it to factory settings, then restore it from the backup
Take it to an Apple Service Center