Something that's helped me massively to stay on plan is having a hard stop — a line I don't cross.
It keeps me out of that fight-or-flight zone where you're not trading anymore, you're just gambling.
Whether it's a trade limit or a risk limit, set yours and respect it.