To prevent unwanted Android downloads, go to Settings > Apps > Advanced > Special app access and turn off Install unknown apps. Scan the list of your apps to make sure it says Not allowed under each one.