Stains on Carpet

I have a light colored carpet with stains(grease,dirt,soda stains). I am going to make an attempt to steam clean it, but first i am looking for any suggestions on what works best. carpet is tan in color.