If you can’t talk, your phone can still tell someone about your allergies and who to call. Only if you filled it in, though.
Health app > Summary > profile picture > Medical ID > Edit
add conditions, medicines, allergies
add Emergency Contacts
Show When Locked: on
Show When Locked is the part that matters. Apple’s guide says it is on by default, but I would still check it. From a locked phone a helper swipes up (or presses the Home button), taps Emergency on the passcode screen, and then Medical ID.
Keep it short and current. A list of every vitamin helps nobody in a hurry, while a penicillin allergy or a blood thinner really does. Put at least one emergency contact in who actually answers the phone.
The trade off is plain: anyone holding your locked phone can read the same card. If there is something in your history that you would not want a stranger to see, leave it out, or switch Show When Locked off and accept that helpers won’t get it either.
Set yourself a yearly reminder to look at it again. Medicines and phone numbers change more often than you think.
Further reading: Set up your Medical ID in the Health app on your iPhone
Going deeper: Guide: Immich on Unraid, back up the photos on your iPhone automatically