You can set an emergency contact via a contact card or using the Health app on your iPhone. To do this using the contact card, launch the Phone app and tap on the Contacts tab, then select a contact.