A. Be careful when tapping on ads. Always close the ad window using the designated close button instead of tapping anywhere else on the screen.
B. Enable Google Play Protect on your device to help prevent accidental downloads from ads. Go to Google Play Store > Menu > Play Protect and enable it to scan apps for harmful behavior.