tap on settings
Here you can turn the do not disturb on. To customize it tap on notifications.
Here Do Not Disturb again.
Here you can turn on scheduled mode, where you can set a schedule for it. You can set groups who you would like to receive calls from even if DND is on (your favorites). And allow repeated calls.