This is happening because an adware is active in your pc. Download an anti adware and scan your system. Also scan your system with an anti virus. While installing softwares downloaded from internet, always check if you are going to install anything other than what you wanted to install. Freeware now a days have hidden installers of adware which the user accidentally installs while clicking next without checking.