I actually avoid security apps in general, since most of them aren't that useful (and some are plain sneaky and shady). My tips for reducing your risk of malware include:
1. Avoid shady websites that deal with things like porn, gambling, and "free" (aka pirated) apps/music/movies.
2. Never ever tap on a link that appears in a popup while browsing, especially if they're warning you that your phone is infected--they're just trying to scare you into installing some bogus "antivirus" app that is probably malicious itself.
3. Only install apps from well-established app sources like Google Play Store or Amazon Appstore. Read a bunch of app reviews before installing an app to look for any complaints about adware or suspected malware.
4. Turn on Google's "Verify Apps" function. This allows Google to periodically scan your phone's apps to look for malware. It's usually in your Google Settings app, under Security (although it might also be in the main System Settings, in Settings>Security).
5. Turn off "Unknown Sources" in Settings>Security. This prevents any app that wasn't obtained from Google Play Store from being installed (which could include malicious apps that are inadvertently downloaded).
Getting back to your phone--I've been hearing about some issues that might arise due to using Smart Switch (namely, lag on the Note7--which seems to improve after a factory reset). Your issue would seem to be less likely due to Smart Switch, but as a last resort, you may want to consider a factory reset to see if the problem persists.