Particle dynamics in non-uniform magnetic field for a slab and a cylinder is presented. The presence of electric field with low frequency drift (LFD) and lower hybrid drift (LHD) waves is considered. Drift waves as the possible cause of an anomalous transport in plasma are used in calculations. Non-stationary fluctuations of the electrostatic field of the plasma waves are modeled. The stochastization of the particles is studied numerically.