Echo in a phone video comes from distance. The microphone is at the bottom of the phone, the phone is an arm's length away or further, and from there the mic hears the walls nearly as well as it hears you. You can fix most of it before you press record, and reduce some of it afterwards.
Arm's length beats across the room, and closer still is better. If you read from a script, use a teleprompter that keeps the text near the lens, so you can stay close without looking down.
A bedroom with a bed, curtains and a wardrobe usually sounds better than a kitchen, a bathroom or an empty office.
The wall behind the phone sends your voice straight back into the mic. A duvet over a door, a blanket over a chair or a full bookcase behind the phone matters more than the wall behind you.
A fan or air conditioner does not cause echo, but its steady hum sits under your voice and makes the recording harder to clean afterwards.
A lavalier a hand's width from your mouth hears very little of the room. It is the most reliable fix there is.
Apple lists three ways to record sound on these models: Spatial Audio, Studio and Mono. Audio Mix, the fix in the next section, works only on video recorded with Spatial Audio.
For a video recorded with Spatial Audio: open it in Photos, tap Edit, tap Audio Mix and choose Studio. Apple describes Studio as reducing “background sounds and reverb” (Apple's guide). Drag the slider below the options to set how strong it is, then tap Done.
Apple lists the models that record Spatial Audio here. Older iPhones do not have Audio Mix.
Select the clip in the timeline, click the Noise Reduction and Equalizer button, tick Reduce background noise and drag the slider (Apple's guide). Apple presents it as a background noise control, so play the clip before and after to hear whether it helps with echo.
Editors such as CapCut include a noise reduction tool. Results on echo vary from clip to clip, so compare with the original before you export.
Heavy echo cannot be removed completely after the fact. Every one of these trades some of your voice for less of the room, so a closer, softer recording usually beats any fix applied later.
If you record to camera from a script, TakeWell is built for this problem. You read over the live front camera, and after each take a speech enhancer on the phone removes room echo, reverb and steady noise like a fan, then puts the clean audio back into the video. You can play Original against Enhanced before you keep the take. It works on the free tier, with takes up to 60 seconds.