They typically do it after you accept the offer. They will tell you it is a conditional offer pending on background check. Background check is mostly about credit history and criminal hisotry. Reference check is that they will talk to the references you provided.