Original post by: Abdur Rahman ,
I recommend viewing the article [http://www.androidcentral.com/help-my-android-has-malware|Help! My Android has malware!] in order to try to clean your phone if you have important files that you need before attempting a factory reset. If you just want to reset your phone, instructions on [http://www.hardreset.info/devices/samsung/samsung-g313h-galaxy-s-duos-3/|Hard Reset] can guide you on how to do this.