There are two ways to do so: by checking your downloaded files or looking at the settings menu and finding suspicious-looking apps. After that, you can manually delete them or use an antivirus to remove the spy software.