You’re dealing with a water leak in your home.
This unfortunately means that you’ve got days, if not weeks of work ahead of you.
You’ll need to mop and dry up, or worse, pump the water out your home. And once that’s done, you’ll still need to thoroughly dry out the flooded carpet, baseboards, walls, and furniture thoroughly, or you’ll be dealing with some serious water damage and mold growth.