The stuck button is probably causing your phone to keep on restarting. What you should do is to keep on pressing the power button to try to unstuck it. If that doesn't work, you may need to open up your phone (if you know how) or you can send/bring your phone to a service center to get it repaired.