Trust A Free Virus Protection App?

I really want to make sure my iPad and iPhone is safe and not hacked. But confused on the free apps that say they will protect my iPad. Is this a way to get your stuff hacked or full of malware? Can you trust a free app on your system safely?
