Like declarer play, defence starts with pattern recognition. This happens when a defender looks at dummy, along with the bidding. I'm going to refer to this as dummy types. Studying dummy types is one of the building blocks of good defence.
Defence Basics: Build a Plan at Trick One
Get my #1 tip for improving your scores straight away.