What steps should be taken before filing patent?

Any person with a unique innovative idea is afraid that his idea can be stolen or used by someone else. And to avoid that they are being told to file a patent. People suggesting you this are mostly either your friends, family, people who don't have any actual experience bringing products to market, your patent [...]