Aside from opening windows, the only alternative is to just repair the problem.
Have a look at my answer in
https://answersrip.com/question/index?qid=20200626184148AAfhw7R
There is some basic A/C repair info there.
You need a gauge set.
Automotive air conditioning systems generally stop working because of a refrigerant LEAK, or because of an ELECTRICAL problem in the control system.
You need to make an initial determination which direction to go. Trying to add refrigerant is a bad first step.
Also, filling an empty system too slowly can INJURE the compressor. Besides, an empty system needs the leak found and repaired, and then be evacuated before recharging.
Assuming that your compressor needs to be replaced is NOT logical. Why are you guessing that you need to replace the compressor?
-Engine overhaul mechanic and general automotive mechanic since 1972
-A/C repair since 1980