Concur with majority advice above, the OP just needs to have the AC system performance assessed by a shop. It’s hard to say what the specific cause is just based on the symptom, but the way it all works, the refrigerant runs around in a big loop. It is compressed by the compressor which heats it up, that heat is removed by a gadget in the engine compartment (near the radiator), then the compressed refrigerant is routed to another gadget where it is allowed to expand, which cools it off, and then it goes to a part inside the car that produces the cold for the air cooling effect, after which it returns to the compressor. It’s all moderated by another gadget which decides if the air coming out of the AC is the correct temperature, and uses that info to control the compressor. The shop will hook up pressure gauges at various places in the loop, and from that they can tell what’s wrong.
The more important thing is to make sure the shop who’s doing all this is experienced in AC diagnosis and repair. B/c modern AC systems are very cranky about not being serviced correctly, especially being over-charged w/too much refrigerant. And a cranky AC system will not serve you or your wallet well. So make sure to use a well-recommended shop.