Training dog with electric fence