@l-andorrĂ looks like he wants to 8nsure that he'll keep the 20 pips in profit.
Some traders (if allowed by broker) use hedge trades if market retrace 8n order to keep a certain amount of profit. However, it's not a beginner's topic.
Another way would be to scale out by for instance closing a part of the position.
And finally a trailing stop that works in most cases but may fail on gaps after market was closed eg over weekends.