You need to lose some energy from your very excited gas atoms. The easy answer is to lower the surrounding temperature. When the temperature drops, energy will be transferred out of your gas atoms into the colder environment. When you reach the temperature of the condensation point, you become a liquid.