It depends on the severity of the problem. If your air conditioner is only blowing warm air, you can try resetting the thermostat or cleaning the air filter.
If that doesn’t work, you may need to call a professional to diagnose the problem. If your air conditioner is not blowing any air at all, you should shut it off immediately to prevent damage to the unit.