My air conditioning not cold, burning smell, smoke from vents on 2004 Mercury Sable

While driving on 5/31 my air conditioning stopped being cold. A few minutes later there was a terrible burning smell and then smoke was coming out of the vents. I turned it off and kept it off until 6/3. I turned it on today to check it and it works again..... What happened? What is wrong with the air conditioning?

Asked by for the 2004 Mercury Sable