“Wherever the restless, unsteady mind wanders, one should draw it back from there and bring it under control in ātman alone.”
Going deeper
This instruction comes in chapter 6, where Kṛṣṇa is describing meditation. 6.25 says that little by little one should withdraw from objects other than the self, with the help of the intellect held by firm resolution, and then, having fixed the mind upon the Self, think of nothing else. 6.26 goes straight to what happens next: wherever the fickle and unsteady mind wanders, one should subdue it and then bring it back under the control of the self alone. So the chain runs from the slow withdrawal to the fixed mind, to the wandering, to the return. The Sanskrit repeats its words in both verses, śanaiḥ śanaiḥ in 6.25 and yato yato in 6.26. 6.27 then says that supreme happiness comes to the Yogin whose mind is at peace. Later in the chapter Arjuna objects at 6.34 that the mind is fickle and as hard to restrain as the wind, and at 6.35 Kṛṣṇa agrees it is hard, but says that it can be brought under control through practice and dispassion. See what the Gītā says about anxiety.