To activate Do Not Disturb on an iPhone, swipe down from the top-right corner to open the Control Center. Then, tap the crescent moon icon to enable it. You can also go to Settings > Focus > Do Not Disturb to customize the settings further, such as scheduling or allowing specific notifications.