Let us make this concept clear by this figure given below.
All these cells have ~ 20000 genes distributed in 46 chromosomes.
Let us take the example of RBC. All these cells have haemoglobin gene in the nucleus.
This gene is not expressed in all cells… It is expressed or turned on only in RBCs where it has a role..