Question: what should you do when you encounter a shark?
Answer: Move slowly toward the shore or a boat; choose whichever is closest. Do not thrash your arms or kick or splash while you swim.
Do not block the shark's path. If you are standing between the shark and the open ocean, move away. ... 
Do not turn your back on the shark as you move.