Android Question

My tab3 8" has been infected by a trojan virus my device automatically said run this action to get rid of it but when I do this another message comes up and says this may cause harm to your device do you want to still want to proceed. When I run avg it says nothing found.what do I do