After surfing the Internet, messages always pop up automatically. Who knows the solution?

There is a Trojan plug-in in the mobile phone. If it's not Trojan in firmware, you don't need to format the card, just download an antivirus device to kill virus. I hope you can develop a good habit of surfing the internet in the future, and don't browse personal, hacker and pornographic web pages. If there is automatic networking in the future, you should immediately kill the virus to avoid unnecessary traffic or telephone charges.