The octet rule states that atoms tend to form molecules where they have eight electrons in their valence shell.
The molecule NO (nitric oxide) does not follow the octet rule because nitrogen has an odd number of electrons and cannot achieve an octet in the molecule.
In the NO molecule, nitrogen has 5 valence electrons and oxygen has 6, making a total of 11 valence electrons. This violates the octet rule as one electron is unpaired.