The dusty high redshift universe: the dust content and its effects in the first galaxies