“How do I verify and stop suspicious text messages about viruses and data deletion on my iPhone?: I’m receiving texting saying my iPhone is sending viruses in addition tonight I received one saying my contact and pictures were going to be deleted how can I check this”
———-
What you are reporting is a scam.
So, report this to the Internet Crime Complaint Center (ic3.gov), and to others:
Blocking Messages:
A. Using the App Called “Bouncer”:
For text messages, there is an app called Bouncer, which block messages out by keywords. But, if these are not text messages, then is would not be an option. Here is the link: Bouncer: Text Messages Blocker 4+ - App Store
B. Use Malwarebytes Mobile Security:
The free version blocks popups. The paid version blocks out known spam numbers, lets you add number to the block list, and allows you to report these numbers to the Developer. So, consider using it. Read the following post to see how to use this software: Blocked numbers - Apple Community
Get it Right in the App Store: Malwarebytes - Mobile Security - App Store