The invention concerns a method using a robot for an automatic treatment of a weed, the method comprises steps of capturing images of said weed with a camera on said robot; determining with said images a distance between the weed and a second vegetable organism; and selecting a treatment tool of said robot for a treatment of the weed from a group of treatment tools as function of said distance.;The invention further concerns a robotic vehicle for carrying out the method for an automatic treatment of a weed.