Rabbi Salanter would teach that the time for a person to work on not allowing improper subconscious impulses to affect him was during times of emotional quiet, when a person is more in control of his thoughts and feelings.