Again you question is way to generic. Bad performance can come from a badly configured database, but - YMMV - most times I saw performance issues they came from bad application code and/or bad logical database design.
You need to pin down where the performance problems come from to be able to develop an action plan to solve them.
Heavy Regards, RealHeavyDude.