An electronic device is provided. The electronic device includes a flexible touch screen including a display, a sensor configured to detect bending of the electronic device, and a processor operably connected to the display and the sensor and configured to determine whether the electronic device is worn by the user and perform an operation of an application executed before the electronic device is worn by the user based on a determination that the electronic device is worn by the user.