Krishna explains in Chapter 5 ( 5.12 and 5.29) . Understand the position of the supreme (Krishna) that he is the ultimate benefactor of all our Karma and he is the best well wisher for us. When we aligned our Karma according to Bhagavan Krishna and offer it’s results to him considering his position . We can always remain peaceful . It starts with controlling desires.