A method for controlling a washing machine having a tub for containing water, a drum rotatably provided in the tub, at least one nozzle for spraying water into the drum, a washing motor configured to rotate the drum, and a circulation pump configured to pump water discharged from the tub to the at least one nozzle, the method comprising: a step (a) of, when the washing motor is accelerated and reaches a preset rotation speed, controlling the washing motor to rotate with maintaining the rotation speed such that laundry in the drum rotates at the rotation speed along with the drum while stuck to an inner circumferential surface of the drum, and accelerating a circulation pump motor included in the circulation pump such that water is sprayed through the at least one nozzle; and a step (b) of controlling the circulation pump motor to be repeatedly accelerated and decelerated one or more times within a set rotation speed range while the washing motor rotates at the preset rotation speed, characterized in that the acceleration of the circulation pump in step (a) is performed in response to the acceleration of the washing motor, and wherein step (b) comprises: a step (b-1) of decelerating the circulation pump motor such that a point on an inner circumferential surface of the drum, which a water stream sprayed through the at least one nozzle reaches, moves from a rear end to a front end of the drum; and a step (b-2) of accelerating the circulation pump motor such that the point on the inner circumferential surface of the drum, which the water stream sprayed through the at least one nozzle reaches, moves from the front end to the rear end of the drum, and wherein step (b-1) and step (b-2) are repeated one or more times. a step (a) of, when the washing motor is accelerated and reaches a preset rotation speed, controlling the washing motor to rotate with maintaining the rotation speed such that laundry in the drum rotates at the rotation speed along with the drum while stuck to an inner circumferential surface of the drum, and accelerating a circulation pump motor included in the circulation pump such that water is sprayed through the at least one nozzle; and a step (b) of controlling the circulation pump motor to be repeatedly accelerated and decelerated one or more times within a set rotation speed range while the washing motor rotates at the preset rotation speed, characterized in that the acceleration of the circulation pump in step (a) is performed in response to the acceleration of the washing motor, and wherein step (b) comprises: a step (b-1) of decelerating the circulation pump motor such that a point on an inner circumferential surface of the drum, which a water stream sprayed through the at least one nozzle reaches, moves from a rear end to a front end of the drum; and a step (b-2) of accelerating the circulation pump motor such that the point on the inner circumferential surface of the drum, which the water stream sprayed through the at least one nozzle reaches, moves from the front end to the rear end of the drum, and a step (b-1) of decelerating the circulation pump motor such that a point on an inner circumferential surface of the drum, which a water stream sprayed through the at least one nozzle reaches, moves from a rear end to a front end of the drum; and a step (b-2) of accelerating the circulation pump motor such that the point on the inner circumferential surface of the drum, which the water stream sprayed through the at least one nozzle reaches, moves from the front end to the rear end of the drum, and wherein step (b-1) and step (b-2) are repeated one or more times.