How to wash cloth diapers
Dump solid material into the toilet. Put the diaper/diapers into a pail until wash time.
Fill, but don't over-stuff the washer and rinse diapers in warm water.
Wash the diapers with detergent in hot water. Your detergent should be fragrance and color free with no optical brighter or fabric softeners. If you have hard water you may need to use additional detergent. You should use enough detergent to clean a load of dirty laundry but not too much.
Rinse the diapers in warm water. Then...rinse again in warm water :)
Dry them thoroughly in the sun or automatic dryer. The sun is obviously a money saver and will bleach out stains. If you use a dryer, set it to the lowest temperature that will dry your diapers successfully.