how early

Can they give you the blood result for the gender. How do they do it?