Take a deep breath before diving, and then spit it out bit by bit during diving. Cha Mengzi did the same thing when he was a child. It can make the lungs carry oxygen to the maximum extent, and it can also prolong the time to relieve flatulence in the lungs. So there will be bubbles, not water.
You must pay attention to your own safety when diving.