What do you consider good quality detergent? Like Tide?
Tide was the detergent my mom always used. When I started washing clothes myself, I tried a few different detergents, but I eventually went back to Tide.
Sometimes I will still buy a cheaper detergent if I'm strapped for cash - Gain is another I used from time to time. It seems to clean pretty well, but I find that it also has a strong perfume smell. I quit using it after a co-worker (a guy) asked me if I was wearing perfume.
Right now, I'm using Tide With Bleach - it's safe for all clothes. And it seems to keep the colors bright.
Take a little time to read the cleaning instruction labels on all your clothes. Sometimes you will find a label that surprises you - one that tells you to wash in cold, whereas you've washed in warm before, or one that says not to bleach, etc...
Don't overload the washer. You want the clothes to be able to circulate and toss and not be so tightly packed that load just shifts back and forth.
As for detergent, one of the things you need to watch out for is using too much. Check the suds after the machine has been washing awhile. You should be able to see sloshing water along with the suds, not just a tubload of suds with peaks. Also check the rinse cycle. If you're still seeing a LOT of suds, you're using too much detergent. Too much detergent can also ruin clothes when it's not rinsed out enough. If your rinse cycle has a lot of suds, let the cycle finish and drain, then rinse again.
Use bleach with your whites to keep them white. Again, read the lables on your whites, because there are actually some whites (depending on the fabric) that should not be washed with bleach. Be careful how much bleach you use, too. Too much bleach is difficult to remove in one rinse cycle and it can damage the fabric.
Beware of using the recommended measurements on those caps and measuring cups that come with the detergent. Often times the recommended measurement is more than you need. I always start with less, then check the machine after it's been washing a bit. If it needs more, I add a little more, and set the dial back to the beginning to start it over so that the detergent has time to dissolve.
Follow drying instructions on the labels. When the clothes are finished drying, hang and fold everything while they're still warm. Once the clothes start getting cool, the wrinkles will start to set.