It's stuck on the apple screen then goes blank for after a few seconds.
Press and hold the power and home button together until phone reboots. If that doesn't work, you will need to use recovery mode:
If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
You can put your iOS device in recovery mode and then restore it with iTunes.
In these situations, you might need to use recovery mode to restore your device:
Learn what to do if you see the progress bar on your screen for several minutes.