Losses are inevitable. It's not just you who experiences them, but all traders who try to make small or large profits through various coins in the market have clearly experienced losses. When you incur a loss, it doesn't mean you've failed. In fact, it should motivate you to keep learning, understand market movement patterns, conduct repeated analysis, find out what caused you to lose on your previous trade, then record it and perform a backtest. So never give up, consider losses as the cost of learning.
Loses are inevitable and that is why trading is hard, if it is all about winning everybody will be a trader and the market will authomatically crash. When you lose you learn something from it and move on, you shouldn't see trading loses like you are not smart, the best traders also lose sometimes. Trading is all about consistency, the more you are on it the better you understand the market and improve your strategy but you can always take breaks sometimes when you are emotionally drained. When your confidence becomes low is a good time to take that break, trading needs a clear mind.