Keeping the right distance from the attacker coming at you: close enough to take away time and space, not so close that they skate past.
Find a coach who teaches the skills you care about.