An electronic device, comprising: a speaker; a microphone; a digital signal processor, DSP,; a driver configured to convert a digital signal output from the DSP into an analog signal and output the analog signal to the speaker; a processor; and memory storing instructions that, when executed by the processor, cause the electronic device to: control the DSP and the driver to output, through the speaker, a first sound signal obtained by combining a signal of a first frequency, a signal of a second frequency, and an anti-phase signal of a third frequency related to a distortion production otoacoustic emission, DPOAE, of the first frequency and the second frequency, based on a first protocol among a plurality of protocols stored in the memory; upon receiving a second sound signal related to the first sound signal through the microphone, extract a first DPOAE signal of the third frequency included in the second sound signal; control the DSP and the driver to output, through the speaker, a third sound signal obtained by combining a signal of a fourth frequency, a signal of a fifth frequency, and an anti-phase signal of a sixth frequency related to a DPOAE of the fourth frequency and the fifth frequency, based on a second protocol among the plurality of protocols; upon receiving a fourth sound signal related to the third sound signal through the microphone, extract a second DPOAE signal of the sixth frequency included in the fourth sound signal; obtain a user hearing profile based on the first DPOAE signal and the second DPOAE signal; and perform at least one of a sound volume control volume change or an equalization, EQ, change of a sound based on the user hearing profile. a speaker; a microphone; a digital signal processor, DSP,; a driver configured to convert a digital signal output from the DSP into an analog signal and output the analog signal to the speaker; a processor; and memory storing instructions that, when executed by the processor, cause the electronic device to: control the DSP and the driver to output, through the speaker, a first sound signal obtained by combining a signal of a first frequency, a signal of a second frequency, and an anti-phase signal of a third frequency related to a distortion production otoacoustic emission, DPOAE, of the first frequency and the second frequency, based on a first protocol among a plurality of protocols stored in the memory; upon receiving a second sound signal related to the first sound signal through the microphone, extract a first DPOAE signal of the third frequency included in the second sound signal; control the DSP and the driver to output, through the speaker, a third sound signal obtained by combining a signal of a fourth frequency, a signal of a fifth frequency, and an anti-phase signal of a sixth frequency related to a DPOAE of the fourth frequency and the fifth frequency, based on a second protocol among the plurality of protocols; upon receiving a fourth sound signal related to the third sound signal through the microphone, extract a second DPOAE signal of the sixth frequency included in the fourth sound signal; obtain a user hearing profile based on the first DPOAE signal and the second DPOAE signal; and perform at least one of a sound volume control volume change or an equalization, EQ, change of a sound based on the user hearing profile. control the DSP and the driver to output, through the speaker, a first sound signal obtained by combining a signal of a first frequency, a signal of a second frequency, and an anti-phase signal of a third frequency related to a distortion production otoacoustic emission, DPOAE, of the first frequency and the second frequency, based on a first protocol among a plurality of protocols stored in the memory; upon receiving a second sound signal related to the first sound signal through the microphone, extract a first DPOAE signal of the third frequency included in the second sound signal; control the DSP and the driver to output, through the speaker, a third sound signal obtained by combining a signal of a fourth frequency, a signal of a fifth frequency, and an anti-phase signal of a sixth frequency related to a DPOAE of the fourth frequency and the fifth frequency, based on a second protocol among the plurality of protocols; upon receiving a fourth sound signal related to the third sound signal through the microphone, extract a second DPOAE signal of the sixth frequency included in the fourth sound signal; obtain a user hearing profile based on the first DPOAE signal and the second DPOAE signal; and perform at least one of a sound volume control volume change or an equalization, EQ, change of a sound based on the user hearing profile.