When asked, sign in with your Apple ID to restore your apps and purchases. If you've purchased iTunes or App Store content using multiple Apple IDs, you'll be asked to sign in to each. If you can't remember your password, you can tap Skip this Step and sign in later. You won't be able to use the apps until you sign in with your Apple ID.
Stay connected to Wi-Fi and wait for a progress bar to appear and complete. Depending on the size of the backup and the network speed, the progress bar might need a few minutes to an hour to complete. If you disconnect from Wi-Fi too soon, the progress will pause until you reconnect.
Now you can finish setup and enjoy your device. Content like your apps, photos, music, and other information will continue to restore in the background for the next several hours or days, depending on the amount of information there is. Try to connect often to Wi-Fi and power to let the process complete.