Most border collies have a natural instinct to herd other animals. Work with the dog’s level of instinct, which causes them to position themselves opposite a handler on the other side of a group of cattle, and to move in the opposite direction to the handler. As this is done, verbalize commands that signify the action. For example, if the dog moves right, say “Right” and give praise for complying.
Alternatively, you can click and treat the dog's actions and give the action a name. For example, if your dog goes to the left on their own, say "Left" and click and treat.
These commands are known in the herding world as flanking commands, and mean the dog’s left or right, not the handler’s. Once border collies have mastered these commands, they will be able to move the cattle in the direction in which you want them to go.