<human>:  What is the correct legal procedure to apply for a patent?
<bot>: The correct legal procedure for applying for a patent is to file a patent application with the United States Patent and Trademark Office (USPTO). The application must include detailed information about the invention including a written description as well as drawings, measurements, or other details as necessary to illustrate the invention. Additionally, the patent application must include any information related to the prior art —anything that had previously been published or publicly used in relation to the invention—to demonstrate its novelty. After filing the application, the USPTO will review it and determine whether or not the invention is novel and eligible to receive patent protection.