The application for patent should be filed before the publication of the invention and till then it should not be disclosed or published. Disclosure of invention by publication before filing of the patent application may be detrimental to novelty of the invention as it may no longer be considered novel due to such publication. However, under certain conditions, there is grace period of 12 months for filing application even after publication.