A method for applying a spray, in particular a plant protection product, onto a field, including: detecting plants in a field section of the field with the aid of an optical and/or infrared detection unit; identifying at least one plant row in the detected field section; defining a plant area encompassing the at least one identified plant row and a weed area, different from the plant area, in the detected field section; ascertaining a plant identifier of the weed area; and applying spray onto the weed area, in particular onto the field section, depending on the ascertained plant identifier with the aid of a spraying device.