Peer review catches some of the garbage but independent replication of experiments in other laboratories is the ultimate test. How the fraud is detected depends on how clever the perpetrator of the fraud is.
Peer review tends to check for internal consistency, consistency with the rest of the literature, misuse of statistics, misleading manipulation of images...