I think leaving the trade is not the solution. After experiencing a loss in trading, as a trader should make it an experience. Losses are always a major problem in trading, so as a trader you have to practice your skills and implement better strategies.
Right quitting trading is not a good solution it is possible to be a successful trader if you can overcome the losses. Your trading strategy should be one that you understand well, and always trade with that amount of risk after fixing a strategy trade accordingly will not deviate from the strategy.