Consider these three steps before getting angry.