Often times a chord diagram will have one or more "X"s above certain strings. That means your must not strum those strings, and ideally you should mute them while playing the chord.