The correct answer is B. himself.
A. herself is incorrect because the subject of the sentence is “he,” which is a male pronoun.
C. itself is incorrect because the subject of the sentence is “he,” which is a human being.
D. yourself is incorrect because the subject of the sentence is “he,” which is a different person than the person being addressed.
The sentence is about a man who has a bad temper. He needs to learn to control his temper so that he does not hurt himself or others.