Regular wash cycle
Intensive washing at warm/hot temperature with detergent (preferably powder).
The diapers must be rubbed well, use a dose for very dirty laundry, then do a second rinse with cold water.
if your water is hard, avoid the second rince.