Using technology in classroom is a tricky task. It is very important for a teacher to be aware of what she wants students to learn and not get carried away by technology. One as a teacher needs to focus on the content to be taught and not let technology take over.
Technological Pedagogical Content Knowledge (TPACK) is a framework that identifies the knowledge teachers need to teach effectively using technology. TPACK framework, is the complex interplay of three primary forms of knowledge: Content (CK), Pedagogy (PK), and Technology (TK).
Find more about it here : http://tpack.org/