The desire to recoup losses is what ultimately leads people to continue trading, only to lose even more because their knowledge and skills aren't fully prepared. Especially after experiencing a loss, it can certainly make the mind lose focus.
Therefore, it's best to take a break after experiencing a loss and return when things are better. The market won't go anywhere, even if we take a long break. And in trading, opportunities are always there as long as we have adequate knowledge and skills.
This makes trading comparable to gambling, as both can lead to addiction due to the pursuit of losses. The addiction to both gambling and trading is related to the character of the person engaging in it. It is not trading or gambling itself that causes the addiction, but rather the individuals who participate tend to lack control over the activities they engage in.