You may give the following basic steps a go: Check whether your iPhone has a good internet connection, ensure that you have correctly set your date and time, log out of your Apple ID and log in, and restart your phone. In some cases, it is also possible to wait several hours in case the servers of Apple are busy.