First thing you need to do is boot into Safe Mode. On most phones, hold the power button, then long-press the "Power Off" icon on the screen. This disables all third-party apps. If the pop-ups stop, you know it's a rogue app. Go to Settings > Apps and look for anything you don't recognize, especially stuff with generic names like "System Update" or apps with no icon. Uninstall them immediately.