What is the antidote for conceit (mana)? It is said that in exerting four right efforts, one should try to replace unwholesome thought with wholesome thought.

Example, one should think of loving-kindness when ill-will thought arises.

So what should one contemplates for mana?
What should one contemplate for mana?

Here's what the early texts say:


  He should develop the perception of inconstancy so as to uproot the
  conceit, 'I am.' For a monk perceiving inconstancy, the perception of
  not-self is made firm. One perceiving not-self attains the uprooting
  of the conceit, 'I am' — Unbinding in the here &amp; now."
  -Ud 4.1, AN 9.1, AN 9.3





  "When a monk's awareness often remains steeped in the perception of
  not-self in what is stressful, his heart is devoid of I-making &amp;
  my-making with regard to this conscious body and externally with
  regard to all themes, has transcended pride, is at peace, and is
  well-released. If, when a monk's awareness often remains steeped in
  the perception of not-self in what is stressful, his heart is not
  devoid of I-making &amp; my-making with regard to this conscious body and
  externally with regard to all themes, has not transcended pride, is
  not at peace, and is not well-released, then he should realize, 'I
  have not developed the perception of not-self in what is stressful;
  there is no step-by-step distinction in me; I have not arrived at the
  fruit of [mental] development.' In that way he is alert there. But if,
  when a monk's awareness often remains steeped in the perception of
  not-self in what is stressful, his heart is devoid of I-making &amp;
  my-making with regard to this conscious body and externally with
  regard to all themes, has transcended pride, is at peace, and is
  well-released, then he should realize, 'I have developed the
  perception of not-self in what is stressful; there is a step-by-step
  distinction in me; I have arrived at the fruit of [mental]
  development.' In that way he is alert there.
  -AN 7.46





  Venerable sir, how should one know, how should one see so that, in
  regard to this body with consciousness and in regard to all external
  signs, I-making, mine-making, and the underlying tendency to conceit
  no longer occur within?”
  
  “Any kind of form whatsoever, Rahula, whether past, future, or
  present, internal or external, gross or subtle, inferior or superior,
  far or near—one sees all form as it really is with correct wisdom
  thus: ‘This is not mine, this I am not, this is not my self.’
  
  “Any kind of feeling whatsoever … Any kind of perception whatsoever …
  Any kind of volitional formations whatsoever … Any kind of
  consciousness whatsoever, whether past, future, or present, internal
  or external, gross or subtle, inferior or superior, far or near—one
  sees all consciousness as it really is with correct wisdom thus: ‘This
  is not mine, this I am not, this is not my self.’
  -SN 22.91, SN 22.92