Why is my power button not working?

Happens after a while, maybe you haven't switched it off in a while? Anyway hold down the home button and the lock button even if it is not working tht should still work, if not go to gamestop