STEP 1:
Turn off your iphone by holding power off button and home button at the same time. Make sure that your mobile is turned off.
STEP 2:
Now your mobile is turned off, turn it on by holding power button and volume up button at the same time.
STEP 3:
When your phone turned on and it shows apple logo leave power button but still hold volume up button.
STEP 4:
Hold the volume button until your phone boot and running properly.
Follow these steps to recover your iphone from struck in apple logo.