An electronic device, comprising: a display configured to display a user interface; and a processor coupled with the display, wherein the processor is configured to: display, in the UI, an object which has a first size and is used for executing at least one function of an application running in the electronic device; detect a movement of the electronic device on the basis of data obtained via a sensor of the electronic device; determine a frequency value associated with an incorrect input, wherein a user input is determined as the incorrect input when the user input is detected in a blank region between the object and one or more other objects, the blank region being beyond a region of the object, wherein the region of the object indicates a range of an input for recognizing a user selection for the object and when an input is received to cancel the user input within a predetermined period of time after receiving the user input; and display, in the UI, the object of which a size is changed, wherein the size is changed from the first size to a second size, on the basis of the detected movement, the frequency value associated with the incorrect input, and information indicating an input frequency of a user input detected from the object. a display configured to display a user interface; and a processor coupled with the display, wherein the processor is configured to: display, in the UI, an object which has a first size and is used for executing at least one function of an application running in the electronic device; detect a movement of the electronic device on the basis of data obtained via a sensor of the electronic device; determine a frequency value associated with an incorrect input, wherein a user input is determined as the incorrect input when the user input is detected in a blank region between the object and one or more other objects, the blank region being beyond a region of the object, wherein the region of the object indicates a range of an input for recognizing a user selection for the object and when an input is received to cancel the user input within a predetermined period of time after receiving the user input; and display, in the UI, the object of which a size is changed, wherein the size is changed from the first size to a second size, on the basis of the detected movement, the frequency value associated with the incorrect input, and information indicating an input frequency of a user input detected from the object. display, in the UI, an object which has a first size and is used for executing at least one function of an application running in the electronic device; detect a movement of the electronic device on the basis of data obtained via a sensor of the electronic device; determine a frequency value associated with an incorrect input, wherein a user input is determined as the incorrect input when the user input is detected in a blank region between the object and one or more other objects, the blank region being beyond a region of the object, wherein the region of the object indicates a range of an input for recognizing a user selection for the object and when an input is received to cancel the user input within a predetermined period of time after receiving the user input; and display, in the UI, the object of which a size is changed, wherein the size is changed from the first size to a second size, on the basis of the detected movement, the frequency value associated with the incorrect input, and information indicating an input frequency of a user input detected from the object.