If you see an error code, refer to Apple's table of error codes and links for explanations and possible solutions. Generally, the first thing to try is to update the device's operating system if it's out to date.