In simple words: more CO2 -> more (acidic) rain -> more weathering and C02 removal -> more mineral deposits -> less CO2 in the atmosphere -> lower temperature -> less rain
If you want more information with formulas, I suggest looking up for description of carbonate–silicate geochemical cycle.