Hi how can I rid of virus with offering me congratulations you won iPhone 7

Then I opening page on safari always throwing google wining awards and congratulations winner iPhone 7
re:

Hi, Welcome to the iMore forum.

That is usually something that's build in the page itself, specially when you visit less reputable sites with a lof of advertising on it.
Or does this happen on every page you visit?

And is this in iOS or on Mac?
re:

Might just be a browser hijack, the fix is

Lol I've been hearing this a lot lately. Go into your settings, Safari, clear website data - it's that simple

Original thread: https://forums.imore.com/threads/hi-how-can-i-rid-of-virus-with-offering-me-congratulations-you-won-iphone-7.380559/