Abstract
An electronic apparatus is provided. The electronic apparatus includes a display, a sensor, a moving device moving the electronic apparatus, memory storing at least one instruction, and at least one processor that is connected with the display, the sensor, the moving device, and the memory, wherein the at least one instruction, when executed by the at least one processor, causes the electronic apparatus to identify a set state of a Do Not Disturb mode for each of a plurality of users using the electronic apparatus, and based on a predetermined event occurring, perform an operation corresponding to the event to a user who did not set the Do Not Disturb mode.