This article is from the Unicycling FAQ, by Beirne Konarski with numerous contributions by others.
The key is to keep the center of gravity over the axle. If you start to fall
forward, you will pedal faster, bringing the wheel back under the seat. If
you start to fall backward you will slow down, allowing the seat to catch up
with the wheel.
 
Continue to: