I am having problems with my Data Base

I am trying to clean up my data Base. I was told that during the building of my web site. Installing and taking out plugins are causing the site have many errors. And i believe that is the chief problem why there are little problem with my site. How dose one start to clean up a Data Base. Or is there a recommended programmer that i should use?