Feelings of anger and hatred arise from a mind that is troubled by dissatisfaction and discontent. So you can prepare to deal with such occasions by constantly working to build inner contentment and by cultivating kindness and compassion. This brings about a certain calmness of mind that can help prevent anger from arising in the first place.