Have you ever imagined being in a sway of water being dragged off. Well that can happen in a instant off at the beach. This is called a rip current
Rip currents are easy to spot but hard to escape. If you see the water going out to sea that's a rip. you could be pulled several hundred yards away from shore, but whatever you do don't panic.
Let the rip take you and then swim out side of the rip and then make your way back.
Also be sure to be carrying a object that will allow you to float in case you can't swim.
Fact: Letting the rip take you is a good thing. Panicing is bad.