If you find yourself on a trail that has mules, like many in Yosemite, the mule always has the right of way. If the trail isn’t large enough to pass side by side, step off the trail and allow the animal to pass.