Pastor advises people to stop masturbating