Change your settings

If you don't want to be disturbed at a certain time, you can set a schedule. Tap Settings > Do Not Disturb and turn on Scheduled. Then set a time.

You can also choose when you want to receive alerts, calls, and notifications:

Bedtime: When Bedtime is enabled, the Lock screen will dim, calls will be silenced, and notifications will appear under During Bedtime in the Notification Center until your scheduled Do Not Disturb ends.

Silence: Choose to silence calls and notifications always or only when the device is locked.