Your iphone speaker need regular cleaning to perform well and last longer. Here's the safe way to do it without damaging sensitive components.
Turn off the phone completely before cleaning to prevent accidental damage or input.
Use a soft, dry toothbrush to gently brush across the speaker grilles at the bottom of the phone. Brush horizontally to sweep debris out.
Carefully use a wooden or plastic toothpick to dislodge visible debris from the speaker holes. Never use metal, which scratches.
Hold compressed air at a slight angle and give short bursts from 2-3 inches away. Do not blast directly into the speaker.