* Stay calm and don't panic. Panicking will only make you more vulnerable to attack.
* Don't make sudden movements. Sharks are attracted to movement, so try to move slowly and smoothly.
* Get out of the water if you can. If you're in shallow water, try to get to shore as quickly as possible. If you're in deep water, try to get on a boat or other object that you can float on.
* If a shark does attack, fight back. Sharks are not invincible, and they can be deterred if you fight back. Use anything you can find to defend yourself, such as a knife, a stick, or your own fists.
* Swim away from the shark as fast as possible. If you are able to get away from the shark, do so as quickly as possible. Swim towards the shore or towards a boat. Do not stop swimming until you are safe on land or on a boat.
It is important to remember that sharks are wild animals and their behavior can be unpredictable. If you see a shark, it is best to err on the side of caution and get out of the water.