Molecular Orbital

• Chemistry
Hi guys i came across molecular orbital theory and i don't understand why sometimes there is orbital mixing. For example B,C,N have no orbital mixing while O,F have orbital mixing. May i know how to know when there is orbital mixing?