The Rebbe advises sincere regret and commitment to improvement, recommending study of Torah, Tehillim, and Zohar, carefulness in Kaddish, and inspiring Jewish children. He requests updates on progress and yeshiva studies.
https://www.torahrecordings.com/rebbe/004_igros_kodesh/teves/853