I think in some cases the dead were burried in mass graves. Reason may be, that plagues were a danger. This may at least be true for the Ancient world.

I always assumed nomads burned their dead.

Anyways: correct me if i am wrong, as I am not 100% sure about my assumptions.