Emotions is a weapon used against traders causing them to move out of a trade untimely which may eventually cost them loss.
How to avoid emotions:- set up a TP(take profit) and SL(stop loss) for your trades
- Stay away from the particular trade
- Get in some activity that will keep you busy
- Do your hubby activities at that moment
- set up hours interval to check your trade
- watch tvs and Go for walk

Note:Some of these might not be applicable if you are into scalping.
Trading is pure math. Emotions have nothing to do here