Once you are identified with something that you are not, you cannot stop the mental process – it will just go on endlessly. It is like when you have eaten bad food, gas will develop. You cannot stop it with a wine cork. You just have to stop eating bad food.
The bad food for you is right now, you believe yourself to be things that you are not. The moment you identify yourself with your body, your thoughts, your emotions, and many other things around you, the thought process will be endless. People think that is how the mind is. That is not how mind is, or rather, that it is not how it is supposed to be. If you constantly had a stomach ache, you would think that is how the stomach is.