In practice, the counter-steal technique is a re-raise if you see that one of the players is wide-aggressive and plans to steal blinds. It’s just a kind of counterattack that lets you take advantage of that player’s strategy to win the pot.
In order to use this technique, you must choose the right time by observing your opponents. Usually, a good poker player knows he has the opportunity to raise profitably if his opponents fold close to the button . In such a situation, you can be confident that your opponents are vulnerable. Their hands won’t be strong enough to call big re-raises.
It is up to you to observe your opponents closely to assess the strength or weakness of their hands.
Also, note that the counter-stealing strategy is to be used to defend from a blind if a player raises late in position. You can also use it if you are in position.