attempt water rescue by reaching or throwing when possible
These are in order of preference!
lay down (so you aren't pulled in), reach with an arm/leg/object
human chain: multiple people go into the water and hold on to each other to extend reach
rope, buoy, rescue float, etc. lifejacket attached to a rope if you have to.
in a boat
swim to the person