The signs
Increasing size after a loss, skipping your checklist, trading outside your session, and the feeling that the market owes you something.
Rules that help
A daily loss limit, a maximum number of trades per day, and a mandatory pause after two consecutive losses. Write them down before the session starts, when you are calm.