I think that the best thing to do when you get a loss is to leave the computer and don't trade because you will be under the influence of the loss especially if it is big , it's better to not trade until you forget about it and you become calm to be able to trade correctly without any pressure.