When he becomes Momayaz. Basically this is an age when he is able to sense gender issues. For a lot of boys I would say that’s around 8-10 years. If you notice that he is able to determine things like female beauty, then start wearing hijab from him.