In hardneck varieties, a seed scape, or flower stalk, will form on top of the stem in June (earlier in warmer regions).
When the scape has formed a complete spiral and is about the thickness of a pencil it should be cut or broken off at the base where it emerges from the stalk. This will allow the plant to focus its energy and grow a larger bulb. The scapes are edible too!