In this paper, the nonlinear Schrodinger (NLS) equation was analytically solved. Firstly, the stationary solutions of NLS equation were explicitly given by the elliptic functions. Then a family of exact solutions of NLS equation were obtained from these stationary solutions by a method for finding new exact solutions from the stationary solutions of integrable evolution equations.