A novel theoretical approach to magnetization dynamics driven by spin-polarized currents is presented. Complete stability diagrams are obtained for the case where spin torques and external magnetic fields are simultaneously present. Quantitative predictions are made for the critical currents and fields inducing magnetization switching, for the amplitude and frequency of magnetization self-oscillations, and for the conditions leading to hysteretic transitions between self-oscillations and stationary states.