How do You Treat a Jellyfish Sting?

I hear the best way to treat a jellyfish sting is to have someone urinate (pee) on it. I’m not sure this really works, but that’s what I hear. Another way is to wash the area off with warm water.