In some cases these speakers can go bad and they need replacing. The loud speaker is pretty easy, but if you want to maintain FaceID, you'll need a basic soldering iron and replace the speaker on its own. If you replace the whole flex cable it's attached to, you'll lose FaceID.