Malware securepubads doubleckicknet

Hi. A few days ago my android phone got infected by a malware securepubads doubleckicknet, and I tried to delete it with the help of anti-virus, but with no results. Is there a way to reinstall OS on my android in the same way that is done on a pc, since I don’t want to spend money for another phone at the moment.

Hey there!
Try the solution in this link
Hope it helps
https://www.google.com.mx/amp/s/androidaplus.com/how-to-reinstall-android-os-on-phone/amp/