Productive Indulgence
Ensure that your kid is involved in a lot of activities that include studies, swimming, karate, drawing, writing, painting, sports, gymnastics, etc. This will give him/her stipulated time to spend in talking online. This will also make him/her understand that chatting is nothing more than just a way of social interaction.