You should understand the practice of meditation as follows:

Without allowing your mind to fall under the sway of thoughts about the past or the future, you should rest your mind on whatever arises in the present moment, while maintaining mindfulness, introspection, and conscientiousness. Most importantly, you should avoid getting carried away by thoughts of negating or affirming, or rejecting or accepting.