At the moment, and as a minimum, you need a clear policy on its use, perhaps forbidding its use. That isn’t enough, of course, but you need to make it clear. That will ameliorate the problem slightly, as most students will comply if the policy is stated in a reasonable way that emphasizes the learning goals. The reasoning behind a policy needs to be made as clear as the policy itself (as usual).
Mid term, it is likely that AI solutions will emerge that can catc