If people are swimming, calmly request them to leave the water. Then get some gloves (that you can throw away afterward) to protect your skin from getting in contact with the decaying frog. Now get a disposable bucket or net to scoop the frog out of the water and dispose of the frog. After that, wash your hands thoroughly and disinfect your pool water before letting anyone swim again.