Sharks are most active during the early morning and late afternoon, so it's best to avoid swimming at these times. Being extra cautious during these periods can help reduce the risk of shark encounters.