Guidance on Overcoming Difficult Thoughts (Igros Kodesh Vol 15:674) ב"ה, 24th of Nissan, 5717 Brooklyn. Greetings and blessings! In response to your letter in which you write that you are having difficulty overcoming a certain matter and do not know how to address it. It is already known that the beginning of the remedy is, first and foremost, the effort to divert one's mind from the matter. This diversion also means not to fight against these thoughts and not to engage in debate with the evil inclination that incites and tempts you to think about this issue. You should invest your thoughts in the opposite matter, meaning in Torah, which is referred to as "Torah Light." It is also advisable to have certain chapters of Mishnah engraved in your memory, and at the very least, one chapter of Tanya. Every weekday, before the morning prayer, you should set aside some coins for charity, and after the prayer, as well as on holidays, you should recite the monthly portion of Tehillim (Psalms) - as the Tehillim are divided by the days of the month. It is understood that you need to be careful with the immersion of Ezra, and first and foremost, have a complete regret for the past and guard your eyes from seeing or reading things that provoke and stir up. Be strong in your trust that the Holy One, Blessed be He, has promised that He will not cast away any of His people. And if, G-d forbid, you even stumble, despair should be eliminated regarding this, as explained at length in the book of Tanya. Surely, you have a lesson to study in this book, and if you have not yet established a fixed time for learning it, you should establish one now. You will find there in the index of topics at the end of the book of Tanya those chapters that discuss how one must not be in sadness, and even if one stumbles, one should contemplate, etc. Look there, and may it be G-d's will that you will be able to bring good news regarding all that has been mentioned. With blessings, In the name of the Rebbe, our master, may he live long Secretary [Translated from the Hebrew original, Igros Kodesh Vol 15, Letter 674] Source: Igros Kodesh (chabadlibrary.org), translated from the Hebrew - https://chabadlibrary.org/books/admur/ig/15/674.htm