H1b 2022 Lca form

When is Lca filed, is it after the application is picked in lottery or before that please let me know

LCA is certified before H1 application. It is one of mandatory document for filing