Should I lay flag stones on a bed of mortar or just sand?

Should I lay flag stones on a bed of mortar or just sand?