Rotor is spinning,

How do i get codes from ECU ?