Away From High Traffic Areas: this might be obvious, but stay away from water sources, trails, and campsites.
Finding The Right Surface: always check for dangers like poison oak, cacti, snakes, ledges, loose gravel near said ledges.
Face Downhill: Your pee is going to be headed straight down the hill so hopefully your feet are not in that line of flow.
Clear The Line Of Fire: Reach down and grab your pants and panties that are in front of your crotch and pull them up to ensure they are clear of danger!
Squat And Swat: If you are having a hard time balancing, get comfy by placing the other hand on a tree for some balance support or use it to swat away mosquitos.