Experience shares work like this: 1) Divide the experience earned by two. 2) Take one half of the experience, and distribute it evenly between the pokemon holding EXP Shares. 3) Take the rest and distribute it between those who fought in the battle.
How does the exp share work in HeartGold?
To get an Exp. Share, go to the Radio Tower in Goldenrod City every day and check their lottery drawings. It checks your Trainer ID number and those of the Original Trainers of all your Pokemon. If the last three digits match, you win the Exp.
How does exp sharing work?
Exp Share is an item obtained by fainting or capturing wild Pokémon. It splits the experience points that the user earned in Pokémon battles. To use Exp Share, drag the item to the item slot in your Pokémon by clicking their name above. This way the experience will be split equally between the two Pokémon.