Yes. This is the very first advice I got when I started trading: that I should always have a plan and stick to that plan as much as possible. Risks are always included in the plans so come the worst, I should be prepared for it and shouldn't be swayed by emotions.