Why does the Iphone just turn off and you cant get it back on?

Your iPhone probably needs to be charged, either that or it is broken.