Restoring from iCloud is only offered during setup, on a new or erased iPhone.
1. Check the backup exists: on the old phone or another Apple device, Settings, your name, iCloud, iCloud Backup. Note the date.
2. On the new or erased iPhone, start setup and connect to Wi-Fi.
3. At Transfer Your Apps and Data, choose From iCloud Backup and sign in with the same Apple ID.
4. Choose the newest backup. Keep the phone on Wi-Fi and charging until apps and photos finish downloading.
5. Restoring an iPhone you already use? Back it up first, then Settings, General, Transfer or Reset iPhone, Erase All Content and Settings.
The backup can't be restored to a phone with an older iOS than the backup. Update first if asked.