We present a finite difference scheme to solve numerically the type of Fokker-Planck equations describing the stochastic dynamics of a particle in a storage ring.