how to stay in control of your thoughts