To learn about the water resistance of your Beats, what to do if your earbuds get wet, how to clean your Beats, and more, see the following articles on the Apple Support website.
Clean your Powerbeats Pro 2
Clean your Beats Studio Buds, Beats Studio Buds +, Beats Fit Pro, or Powerbeats Fit
Clean and store your Beats Pill and your Beats Pill+ speakers
Clean and store your Beats earphones or headphones
About water and sweat resistance of Beats earphones
About the water and dust resistance of Beats Pill