What button do you much to ride a horse minecraft?

First, you must place a saddle on it and the horse must be tamed. Then, right click on the horse and left shift to dismount.