Ergodic Theorem for Stationary Processes