There are provided a method of and arrangement for automatically milking an animal, wherein four teat cups are used, until a defect is established with a teat cup. In that case, milking of the non-milked teat is automatically taken over with the first teat cup that has stopped milking.