Wait until it stops running and have food in hotbar and press e then sit on it and wait until it tries to push you off then feed it again until its tamed.