First educate yourself, then your child. Banning a child from certain sites may only motivate them to spend more time on them, whereas educating your child on how to keep safe will give them the tools they need to navigate their online world without being hurt; from not posting personal information to a site to understanding that people they are talking to may not actually be who they are. If the parents know the dangers themselves, this sets an example to the child to understand them as well.
Teach children the obvious identity rules.Tell your children NOT to put photos of themselves on the social media sites or to give out their names, addresses, phone numbers, schools, or other personal information online.
Install an Internet filter or family safety software.
Know the dangers associated with sites your children frequent. An ounce of prevention is worth a pound of cure.
Teach children what to do if they encounter pornography on a home or public computer, such as at a school or a library. In a similar fashion to the fire warning of "stop, drop and roll," you can teach children to quickly turn off power to the computer monitor and go to get an adult. This can prevent a child from attempting to stop the situation by clicking more buttons (and thereby spreading the attack and being exposed to more porn).
Manage your children's time on the Internet. By not allowing them to have free reign reduces their chances of being exposed to inappropriate content.
Set specific Internet guidelines for your children to live by and consistently enforce consequences, if they are not being followed. Giving your children specific guidelines to follow will ensure they know where they stand when it comes to how they use the Internet as well as the consequences when they breach the rules. If a parent enforces consequences consistently, their children will be more likely to follow the rules.
Keep computers out of children's bedrooms and in open areas. With PCs in the open, children will be less inclined to view and access material that may not be acceptable.
Create a relationship with your children that is conducive to open communication. Open communication and trust is extremely valuable. By letting children know what is expected from them and that their safety is a top priority, they will feel that if something happens --whether they are approached by a cyber stranger or bully or receive an inappropriate e-mail - they can approach a parent to resolve the issue without feeling they are in trouble.