Train your dog to go metal detecting
Your starting point will be a calm dog, give him a little time to become familiar with his surroundings and keep him on a lead, I like to use a 6ft Halti double ended lead. If your dog is not focused, you need to change the dynamics.