Malwarebytes' Anti-Malware is a cleaning program that can help removing malwares. After downloading and installing Malwarebytes, click the "Updates" tab and run "Search for updates". Then, launch a full scan and click "Show results" after the end of the scan. Check all detected items, then click "Remove Selected". Reboot the PC, if asked to.
Avoid getting infected again
You should be careful when installing free programs, as many of them are bundled with PUPs.
Read the EULA/TOS before installing softwares and always download programs from official sources.
If you are using Avast! or AVG, enable the detection of PUPs.