It may be low on freon,or the mechanism that switches the temp from hot to cold may not be working,leaving your system in the "hot" mode.
To test the ac unit,you should let someone experienced with them check it for freon or faulty components.
The temp selector should be easy enough to check,though.There should be a valve in line on the inlet side hose of your heater core.It will be either under the hood or under the dash,depending on your make and model.They are operated by either a mechanical cable or by vacuum.Find the valve.With the engine running(in case it's vacuum),note the position of the valve.Move the temp selector to the opposite setting and check the valve.If it is operating then it is not the problem.Good luck with it.