Disclosed is a teat preparation station (1) for preparation of teats of milking animals prior to being milked in a milking system (11) equipped with at least one milking stall (13). The teat preparation station has a teat preparation area (2a) housing at least one milking animal at a time. An exit (4) leads from the preparation station to the milking system and a second exit (21) to a separate milking area (22) with an automated milking station. Pre-milking equipment (5) automatically pre-milks the milking animals in the teat preparation area. Milk quality analysing equipment (6) automatically analyses pre-milk from the milking animals to determine if each of the animals is healthy or ill. The healthy animals are then automatically guided to the milking system and the others to the separate milking area.