How do you root safely?
It all depends on trust. Go to http://forum.xda-developers.com and search for your device. There are high chances your device will have a separate thread on rooting. Read the entire discussion and try to root.

Just remember one thing, always backup before doing anything. The thread will, most probably, contain a guide to backup your factory image too.