What is the meaning of chastise?

Select the best answer from the choice provided.
A.
to drive away
B.
to discipline
C.
to comfort
D.
to speak fluently