Patañjali uses the word twice in the Yoga Sutra-s.
One sutra [2.33] says, “Vitarkabadhane pratipaksha bhavanam.” That’s a very simple sentence. It means that when we have afflicted thinking, then “Pratipaksha bhavanam”: Contemplate and take another view—look at the situation from another perspective.
In another sutra [2.34], Patañjali says that if you have negative thinking that comes from anger, greed, or delusion, whether you’re actively in it or just thinking about it, the fruit will be unending suffering and ignorance. So, “Pratipaksha bhavanam”: take another view, reframe your perspective on the situation.