You use the word to when you are talking about going toward something, for example "I am going to the shops", "apply paint to the wall" or "the time is ten to six".
You go toward something when you move in its direction, so you get closer to it. The cow in the picture is coming towards the person who took a photo of it.
Video: view
Video: view
You go via a place when you are on a route from one place to another and you go through that place on the way. For example, "I went to the shops via the post office."