It sounds like there may be an unwanted application installed on your phone, which is opening the unwanted pages in your browser. You will need to work out which app this is and remove it. You should also use reputable anti-virus and anti-malware products to remove any malware which may have been installed.