To protect your phones from malicious attacks and hackers, use passwords and phone locks. Don't connect to unknown Wi-Fi and Bluetooth connections. Additionally, only download apps from the Google Play Store or App Store. You can also use VPN to hide your web traffic.