Check the wiring behind the control panel/switches that control the speed of fan and temperature of a/c. My wiring had a short and the a/c would stop working randomly. Also check your fuse box I believe it will say hvac sleeper.
We need diagnostic info in order to help you. What truck we are assuming it's a western star? What year? Electronic or manual control? As the other poster asked does it blow air at all or not? Are the pipes cold to the box? Heat work? And are we to assume that the rest of the HVAC works correctly in the cab?