How to teach your child to share his toys
Meanwhile, struggles over toys will be common. Kids learn by imitating what they see, so take every opportunity to show your child how to share.
For example, offer him a bite of your meal. As you do, use the word "share" to describe your behavior. When your child tries to share what you have to do is to praise his efforts.
One way to avoid tantrums over sharing is to let your child hide a few of his most precious playthings before his friends come over. Tell him these toys are ones he doesn't have to share, then put them away. Make sure your child is aware that what's left is for everyone, though.
If toys just seem to incite too many quarrels, you may want to engage your child and his playmates in a project such as making their own personal toys of clay or plasticine. That way, they can be involved in the same fun activities without having to share possessions.
You should never punish a child, especially one this age, for not sharing. You can let him know you're disappointed and sad when he doesn't share, but that's it. Let him work this out with other children and learn that sometimes it takes hard work to be a good friend.