The best way to avoid shark attacks? Stay out of the water.
In my SCUBA training I was taught the best way to avoid sharks and Orcas is to not look like a seal and stay on the bottom.