Virus from a porn site?

On google I went to xnxx.com and immediately got one of those iPhone pop ups telling me I have downloaded a virus!!! My phone isn’t acting weird but it scared the shit out of me! Has this happened to anyone else and what should I do?!