You can use the google disavow tool remove the spam and bad link of the websites