Sometimes the ring/silent switch on the side of the iPhone starts malfunctioning. When this iPhone mute button no longer works, you may think the device is set to silent but then it rings at the worst time possible. How can you fix this broken switch?
First of all, if your iPhone is covered under warranty or Apple Care, take the device to Apple for service. You can check the current warranty status of your iPhone online.