Let's take for example the process of breath meditation. In this form of meditation, you rest the attention on the sensations of breathing. When your mind drifts from the sensations of breathing to something else, you simply bring it back to the sensations of breathing. Inevitably, if you're really trying to do this well and care about this and are trying to meditate well and get all the benefits from it, you place a value on your breath, on your mind, and on your attention being on your breath.
Inevitably, then, when you notice that your attention is not on your breath, you might have negative thoughts, perhaps you won't first, perhaps you'll be able to remember that you're supposed to take or you're supposed to have some grace with regard to yourself about your attention drifting off. But often times after a while, let's say, for example, you're on a meditation retreat were you were really hoping would produce some kind of big psychological benefit from you or for you and let's say it's several days into it and you're noticing that your attention is drifting off your breath over and over and over again. Incessant thoughts might come up that are very negative that might say stuff like what's wrong with you, there's something wrong with you. You can't do this correctly. Meditation in general is a joke. Meditation in general is a scam. The teachers at this particular place are bad. This place is bad for other reasons. You need to do a different form of meditation. This is worthless. This is actually worse than worthless. This is making your mind worse. This is causing you to be more and more agitated. You might also have feelings of stress and physical sensations that accompany these because you're holding your body so tightly. In my experience, it can sometimes be hard to regard these types of thoughts in the same way that regard all other types of thoughts, that is, it can be hard to just let them be there and place your attention back on your breath. They can scream at you and say take me seriously this is important, you're not doing the meditation correctly. That's why it's critically important, in my experience, to regard all thoughts, including and especially the ones about your meditation the same way. In fact, it's not quite about the way you regard your or these types of thoughts. It's more about just what you do, that is, you should continue to just place your attention on your breath even in the midst of these particular thoughts, so just keep resting your attention on your breath, and when you notice the attention has drifted away, just put it back on your breath. Independent of what your mind is yelling at you about how good your meditation is going or not, as all other phenomena, often times if you repeatedly do this, those other thoughts might subside or they might decrease or change their form, but sometimes they'll stay, and sometimes new ones will come up even if you're perfectly attending to your breath, which brings me to another point: your mind's soundtrack or your mind commentary about how well you are meditating may or may not accurately represent the truth, just as your commentary about everything else may or may not accurately represent the truth. This is another reason why it's not as important as you might initially feel it is to pay attention to these commentary thoughts about your meditation abilities, so some always remember the distinction: the actual process of pressing your attention on your breath is distinct from the mental commentary about whether or not you are resting your attention on your breath. Thoughts have this weird property where when we are very fused with them we take them for reality. We forget that we are just representing. We are just interacting with symbols that are pointing to reality, in this case, the underline reality is your actual meditation practice and the symbols are the thoughts about your meditation practice, so therefore you can start to believe that if your thoughts about your meditation practice are negative, then you're not actually doing your meditation practice, but this is not so because again, the actual meditation practice is distinct from the thoughts about it.