There are ohh-so many ways to mess up when conducting research, leading either intentionally or unintentionally, to false results. Open science, where every effort is made to allow others to check your work (put very simply) is on the rise. Here is a great article on steps in the process.
https://www.nature.com/articles/s41562-016-0021