As soon as it is developed, without having made any prior public disclosure (publications, exhibition in trade fairs etc). Immediately, if there is the danger of third parties disclosing or finding out about the invention.