How long do you leave the safety gate up at the top of the stairs?

Is it age?

Is there anything you looked for in the way they handled the stairs before you took it off?