Open your iPhone’s Settings app (the gear icon).
Scroll down and tap on Safari.
In the “General” section, find the setting labeled Block Pop-ups.
Tap the toggle switch to turn it OFF (the switch will become gray).