To fix an Android phone from glitching, you can follow these steps:
1. Restart your Phone: Rebooting your phone can solve most of the common glitches. Press and hold the power button and select "Restart" from the menu.
2. Clear Cache: Sometimes the app's cache might create glitches that affect the phone's performance. Access Settings > Apps > the app you want to clear cache > Storage > Clear Cache.
3. Uninstall Problematic Apps: If a specific app is causing trouble, uninstalling it can solve the issue.
4. Update Software: Updating your phone's software can fix software-related issues that cause glitches. Check for software updates in Settings > System > Software Update.
5. Remove Unnecessary Apps and Files: If your phone has less storage space, it can cause glitches. Removing unnecessary files and apps can free up space and solve this problem.
6. Factory Reset: If none of the above steps work, you could try a factory reset. This will erase all data from your phone, so make sure to backup data before performing the reset. Access Settings > System > Reset Options > Erase all data (Factory reset). A factory reset should be considered as a last resort, as it erases all data from the phone.
By following these steps, you should be able to fix most of the Android phone glitches and improve its performance.