How to protect your idea's

Patent law in the US is first to file. They changed the law about a year or two ago to be like the rest of the world. First to invent is now meaningless.