This article explains how to unmute calls on an iPhone by turning off Do Not Disturb and Silent Mode, and adjusting the ringer volume settings.
How to Fix Muted Calls on iPhone
If you've enabled Do Not Disturb mode to block all notifications, you can disable it to restore incoming calls and other notifications.
Go to Settings > Do Not Disturb.
Move the switch to the left next to Do Not Disturb.