After the stretch. With autos this can happen anytime usually between week 4 and 6. With photos this is normally 10-14 days after the light flip.
You can technically flip them anytime, but rule of thumb is whenever they are half the size you want them to finish. Sativas can triple in size, so watch out for that.