The most effective and profitable way to deal with mastitis in the long term is by preventative measures.