Trading is the home of regret, and we all tend to let ourselves be discouraged, and to tell us "Ah, if only I had sold ... if only I had bought ..."
But it is a useless and dangerous reaction.
The only thing is to gather your strength and throw yourself into the fight again.