Here are some possible solutions to stop a phone from freezing:
Restart your phone: Press and hold the power button until the power off option appears, then select it to turn your phone off. Wait a few seconds, and then press and hold the power button again to turn it back on.
Clear app cache: Go to Settings > Apps > App Manager, select the app that’s causing the freezing, then select Storage > Clear cache. Repeat this step for other apps as well.
Uninstall problematic apps: If a specific app is causing the freezing, try uninstalling it and see if the problem persists.
Update your phone’s software: Make sure your phone’s software is up to date, as updates often include bug fixes and performance improvements.
Factory reset: If all else fails, you can try performing a factory reset, but make sure to back up your data before doing so, as this will erase all your data and settings.