Part of my bedtime routine when I was a child was to say my prayers with my parents and then confess any wrong I had done during the day. Sometimes I made my parents sad, and myself, too, but my confessions were always followed by immediate forgiveness, by assurances of love, the love of my parents, the love of God. I am grateful for the teaching given me by my parents, because it grounded me in an awareness of God's all-embracing love.
In order to make it easier to keep your thoughts continually on God in accordance with your wish and your need, this is what you can do. First, love solitude and silence, which greatly help the spirit within, and sacred meditation. Second, choose to read books that are sound spiritually. Pause frequently, trying to appreciate rather than understand or remember them. And third, throughout the day turn to God in prayer about all that takes place... All will be well in time.