safari not working properly, this url coming up http://x
My safari has stopped working properly, the homepage is automatically set to http://x&$search_param$=$search_id$/. I have tried to reset the homepage to the normal apple website but then when I quit safari and come back to it the same problem appears again. Safari will work if I tap into the url and search up a website (e.g. google) however when safari is opened or a new tab is open http://x&$search_param$=$search_id$/ This is what the url automatically comes up to. Is there a way I can just reset safari as a whole to get it back to normal?
MacBook Pro