Try balancing a pencil upright on your fingertip, now imagine trying to do that using thrusters and a pencil the size of a rocket.
1) Create a mathematical model of your system
2) Design, test and tune the cybernetic control mechanism (Thank you, Norbert Wiener, Claude Shannon, John von Neumann etc. etc.)
4) Look ma, no hands!