why would my ac go from hot to cold hot to cold on 2005 Kia Spectra

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
had a diagonostic code PO700 don't know if that has to do with the ac or not
(1) Answer
Mine has started getting hot if I turn the temp up a bit because it is too cold. It won't get cold again after I try to lower the temp. I have to turn it off and wait, after awhile turn it back on and it gets cold again. 2005 Kia Spectra 150,000 miles on it.