Please tell us what errors you are getting specifically? Also what Operating System is this affecting? Removing the errors depends entirely on what they are exactly and when they show up, during boot or after getting to the desktop? Please provide details. Thanks!
You can alos download CCleaner and it will fix the errors