Step 1: shut off the AC at the breaker. Step 2: place buckets, towels, and a fan on the wet area. Step 3: photograph everything for insurance. Step 4: call an HVAC tech for the leak, then a restoration company if drywall is saturated.
Most homeowner policies cover the water damage (cleanup, drywall, flooring) but NOT the AC repair that caused it. File promptly claims older than 30 days get denied.