Imagination can be a great blessing or a great torment, depending on what you are picturing in you minds eye.
Fill your heart and mouth with the Word of God. Let the Word control your thinking and speaking. Nothing else will do.
Then you will have control over what is going on in your thought life and you will live in the peace promised by God in Christ.