When you arrive, you will first pass through passport control, then customs. Forms need to be filled out for each of these processes. Migration cards will be handed out during your flight to Russia (if you are arriving by land or sea you will usually need to ask for a card at the immigration post).