Be constant in your practice, and one day the One who gave you the desire for the prayer of the heart will give you that prayer itself. When your heart's intention is fixed on God, it will keep lit the incense of your prayer, and wind of distraction will not put it out. do not worry about stray thoughts; they may come and go, but they will not take your attention away from God.
The acquirement of spiritual wisdom does not necessarily prevent us from making worldly mistakes; but because it develops the qualities that will prevent them, and because it takes to heart the lessons of experience, humbly and receptively, it does reduce the frequency of those mistakes.