First, we write the skeletal chemical equation for the process.
N2+H2→NH3
Examine the number of atoms of different elements present in the unbalanced equation.
In the above reaction both the sides Nitrogen and Oxygen both are unbalanced.
To balance hydrogen, H2 is multiplied by 3 LHS. It makes 6H-atoms on the left hand side.
Now, to balance hydrogen, in RHS, 2 is multiplied to NH3.
Nitrogen is balanced automatically.
N2 (g) + 3H2 (g) → 2NH3 (g)