iPhone speaker isn’t working great when connected to AirPods

Drea

I’ve bought AirPods twice due to finding out that it’s my phone that’s messed up. So when playing music the headphones are great but when it announced messages, the volume is low and it sounds like as if the speaker is blown out but my speaker isn’t blown out whatsoever. I thought it was the AirPods so I bought another and it’s my phone. Does anyone know how this can be fixed??