If you are getting emotional with your trades, then daytrading our short term trading will wipe you out very soon.
Losses are part of this business. We got to accept them as quickly as possible so that they don't turn into bigger losses.. At the end, they block your capital, hence you will miss many more profitable opportunity by holding a looser.
Focus on risk mgmt and protecting your account first. Then learn how to take trading decisions i.e. form opinion about market and know the price level when this opinion is proven wrong by market. Thats when u shd be out of trade and move on to next trade.
Happy Trading