Charles, This article should help you with Safari pop-ups. Essentially you will need to clean the history and data in safari and change a small setting. https://appletoolbox.com/get-rid-safari-pop-scams/
Once you make the changes, please press the Home and on/off buttons together for 10 seconds or so till you see the Apple logo and let the iPad start on its own. That should fix your pop-up issues on Safari.