Generally speaking, a couple of months should do it, but for every rule there is the excepion. We weaned at 7 months, kept the replacement heifers seperate from the main herd until they were due to calve as 2 year olds, and still had the occasional problem with a heifer nursing her mother.