Hi Neda, did you add glycerol to your loading solution? This is needed to increase the density of your sample.
Another reason can be the presence of high amounts of DNA, this can create a viscous material that floats on top of the wells when you load your sample.