Do this the day you get the phone. It's the only way to find a lost iPhone.
1. Settings, then your name at the top, then Find My, then Find My iPhone.
2. Turn on Find My iPhone, Find My network (finds it even when offline) and Send Last Location.
3. Lost it? Go to icloud.com/find on any device, or use the Find My app on another Apple device.
4. You can play a sound, see it on a map, turn on Lost Mode with a message and phone number, or erase it.
5. Find My also turns on Activation Lock, so a thief can't use the phone after erasing it.