By configuring the following steps below unhack your device with some aspects
1. Reset your phone
2. Use security apps on your phone
3. Remove unwanted applications
4. Use the security key to open your device every time, for advanced protection
5. Clear all the recent and unwanted apps
Read More - https://allsavvy.net/code-to-check-if-phone-is-hacked