How does the section of iron coil influence the magnetic field?

Do you maybe mean an 'iron core?' If so, an iron core strenghthens the magnetic field significantly. *If the coils are wound closer together the fluxlines are more dense and increase the strength of the field slightly (an iron core strengthens the field by allowing the magnetic field to propagate inside it better than air).