How do you wash dirty baby clothes ?

I have tried some laundry detergents for babies but none worked as I wanted to.Is there something I can use not to irritate baby’s skin but still remove stains like new? I’m wondering if I can mix something from the kitchen to get it out ? help please