The outdoor unit not running while the indoor fan works may involve a capacitor, contactor, or motor issue
https://icecoolinghvac.com/what-to-do-ac-breaks-down-winter-haven-fl/
The outdoor unit not running while the indoor fan works may involve a capacitor, contactor, or motor issue. Do not open panels yourself; call a qualified technician.