NET
25 Flog a scorner, and as a result the simpleton will learn prudence; correct a discerning person, and as a result he will understand knowledge.
Darby
25 Smite a scorner, and the simple will beware; reprove the intelligent, and he will understand knowledge.
KJV
25 Smite a scorner, and the simple will beware: and reprove one that hath understanding, [and] he will understand knowledge.