I think that the best thing to do when your the market moves in the opposite direction of your trade is to close your trade to avoid more loss. The other way is to do hedging, which means opening of a new order in the reverse market. In this way your loss will be equalized by the profit from the other trade in the same currency pair.