Sometimes adjusting the Ringer and Alerts slider can help fix sound problems. Go to Settings > Sounds (or Settings > Sounds & Haptics) and drag the Ringer and Alerts slider back and forth a few times. If the speaker button on the slider is dimmed or you can't hear any sound, your speaker may require service.