Cosmic rays propagation in the galaxy