Preventing mastitis is one of the most cost-effective ways to improve milk quality. Here's how to do it with good management skills.