Stellar magnetic field