This long history of learning how not to fool ourselves — of having utter scientific integrity — is, I’m sorry to say, something that we haven’t specifically included in any particular course that I know of. We just hope you’ve caught on by osmosis.
The first principle is that you must not fool yourself — and you are the easiest person to fool. So you have to be very careful about that. After you’ve not fooled yourself, it’s easy not to fool other scientists. You just have to be honest in a conventional way after that.I far as I can tell, everything Feynman ever wrote is worth reading, especially "Surely You're Joking, Mr. Feynman!", "What Do You Care What Other People Think?", and "Q.E.D." The first two are reminiscences; the third is one of the best pieces of popularized science I've ever read.
H/t Maggie's Farm.