First you can file your H1B applocation. Meanwhile, you can use EAD to work. After you got H1B approved, you can switch back to H1B