The properties of quasiperiodic Schrödinger cocycles are studied and the conditions of reducibility and nonuniform hyperbolicity are established. A one-dimensional quasiperiodic cocycle is considered as a pair $(\alpha ,A)\in \bbfR\times C^{r}(\bbfR/\bbfZ,SL(2,\bbfR))$ viewed as a linear skew-product: $(\alpha ,A) : \bbfR/\bbfZ\times \bbfR^{2}\to \bbfR/\bbfZ\times \bbfR^{2}$. The Schrödinger cocycle $S_{v,E}\in C^{r}(\bbfR/\bbfZ,SL(2,\bbfR))$ is then defined, where $v$ is called the potential and $E$ the energy. The corresponding quasiperiodic Schrödinger cocycle $H_{v,\alpha ,x}$ is defined and it is established that its properties are closely connected to those of the family of cocycles $(\alpha ,S_{v,E})$, $E\in \bbfR$. It is shown that for almost every frequency $\alpha \in \bbfR/\bbfQ$, for every $C^{\omega}$ potential $v:\bbfR/\bbfZ\rightarrow\bbfR$, and for almost every energy $E$, the corresponding quasiperiodic Schrödinger cocycle is either reducible or nonuniformly hyperbolic. Several interesting results are emphasized: (i) zero Lebesgue measure of the singular continuous part of the spectrum of $H$ for almost every frequency, (ii) persistence of absolutely continuous spectrum under perturbations of the potential, (iii) continuity of the Lebesgue measure of the spectrum of $H$, under perturbations of the potential. It is concluded that the results of the paper give very good control on the absolutely continuous part of the spectrum of the quasiperiodic Schrödinger operator. It allows also to complete the proof of the Aubry--Andre conjecture on the measure of the spectrum of the almost Mathieu operator.