After you publish, present or otherwise publicly disclose your invention, you have one year from the first disclosure date to file a U.S. patent. After this anniversary has passed, you lose all U.S. patent rights. For foreign patents, no grace period exists; that is, publication (or any form of disclosure) of your invention immediately bars you from foreign patent rights.