When losing money, don't rush to label yourself. Many times, this is just a normal result of probability and market fluctuations, and it doesn't mean you're not capable. Think clearly about the reason for the loss: was it a judgment error, an execution problem, or was it simply a position with inherent risk? If it's a method issue, then change the method. If it's a probability issue, consider it as paying tuition; don't let emotions consume you and affect actions you could have otherwise executed correctly.
When making money, don't immediately think of yourself as a god of the market. You need to differentiate whether your strategy is truly effective in the long term or if you just happened to catch a favorable market trend. Don't increase your position or flaunt your success just because of one or two profitable trades; such emotions can lead you to lose even faster next time.
The core idea is to treat every gain and loss as a record, not as a judgment of your self-worth. The outcome is just a sample; what's important is whether you can perform better next time. This way, your mindset won't be swayed by the market.